Skip to content
Browse files

feature wasn't running

  • Loading branch information...
1 parent 41b79ec commit c931b97a70a464dd73e89553618d1697fb1d0c30 @dchelimsky dchelimsky committed Feb 12, 2010
View
2 features/example_groups/describe_aliases.feature
@@ -4,7 +4,7 @@ Feature: Nested example groups
I want to use alternate names for describe
So that I can better organize my examples
- Scenario Outline: Using context
+ Scenario: Using context
Given a file named "context_instead_of_describe_spec.rb" with:
"""
context "Using context" do
View
9 features/example_groups/nested_groups.feature
@@ -4,13 +4,10 @@ Feature: Nested example groups
I want to nest examples groups
So that I can better organize my examples
- Scenario Outline: Nested example groups
+ @wip
+ Scenario: Nested example groups
Given a file named "nested_example_groups.rb" with:
"""
- require 'rspec/autorun'
- require 'rspec/expectations'
- Rspec::Core::ExampleGroup.send(:include, Rspec::Matchers)
-
describe "Some Object" do
describe "with some more context" do
it "should do this" do
@@ -24,7 +21,7 @@ Feature: Nested example groups
end
end
"""
- When I run "rspec nested_example_groups.rb -fn"
+ When I run "rspec nested_example_groups.rb -fdoc"
Then the stdout should match /^Some Object/
And the stdout should match /^\s+with some more context/
And the stdout should match /^\s+with some other context/

0 comments on commit c931b97

Please sign in to comment.
Something went wrong with that request. Please try again.