Browse files

remove comment in feature

  • Loading branch information...
1 parent 3260cb5 commit a1064cf279251a02f888f7f0469e95e38e26a162 @dchelimsky dchelimsky committed Mar 21, 2011
Showing with 12 additions and 13 deletions.
  1. +12 −13 features/hooks/before_and_after_hooks.feature
View
25 features/hooks/before_and_after_hooks.feature
@@ -52,7 +52,7 @@ Feature: before and after hooks
end
end
"""
- When I run "rspec ./before_each_spec.rb"
+ When I run "rspec before_each_spec.rb"
Then the examples should all pass
Scenario: define before(:all) block in example group
@@ -86,10 +86,10 @@ Feature: before and after hooks
end
end
"""
- When I run "rspec ./before_all_spec.rb"
+ When I run "rspec before_all_spec.rb"
Then the examples should all pass
- When I run "rspec ./before_all_spec.rb:15"
+ When I run "rspec before_all_spec.rb:15"
Then the examples should all pass
Scenario: failure in before(:all) block
@@ -124,7 +124,7 @@ Feature: before and after hooks
end
end
"""
- When I run "rspec ./before_all_spec.rb --format documentation"
+ When I run "rspec before_all_spec.rb --format documentation"
Then the output should contain "5 examples, 5 failures"
And the output should contain:
"""
@@ -139,7 +139,7 @@ Feature: before and after hooks
after all ran
"""
- When I run "rspec ./before_all_spec.rb:9 --format documentation"
+ When I run "rspec before_all_spec.rb:9 --format documentation"
Then the output should contain "1 example, 1 failure"
And the output should contain:
"""
@@ -197,7 +197,7 @@ Feature: before and after hooks
end
end
"""
- When I run "rspec ./befores_in_configuration_spec.rb"
+ When I run "rspec befores_in_configuration_spec.rb"
Then the examples should all pass
Scenario: before/after blocks are run in order
@@ -227,7 +227,7 @@ Feature: before and after hooks
end
end
"""
- When I run "rspec ./ensure_block_order_spec.rb"
+ When I run "rspec ensure_block_order_spec.rb"
Then the output should contain:
"""
before all
@@ -313,7 +313,7 @@ Feature: before and after hooks
end
"""
- When I run "rspec ./before_and_after_all_spec.rb"
+ When I run "rspec before_and_after_all_spec.rb"
Then the examples should all pass
And the output should contain:
"""
@@ -323,7 +323,7 @@ Feature: before and after hooks
outer after all
"""
- When I run "rspec ./before_and_after_all_spec.rb:14"
+ When I run "rspec before_and_after_all_spec.rb:14"
Then the examples should all pass
And the output should contain:
"""
@@ -333,7 +333,7 @@ Feature: before and after hooks
outer after all
"""
- When I run "rspec ./before_and_after_all_spec.rb:6"
+ When I run "rspec before_and_after_all_spec.rb:6"
Then the examples should all pass
And the output should contain:
"""
@@ -399,12 +399,11 @@ Feature: before and after hooks
end
after(:all) do
- # p @outer_state.nil?
@outer_state.should eq("set in outer before all")
end
end
"""
- When I run "rspec ./before_and_after_all_spec.rb"
+ When I run "rspec before_and_after_all_spec.rb"
Then the examples should all pass
Scenario: exception in before(:each) is captured and reported as failure
@@ -419,6 +418,6 @@ Feature: before and after hooks
end
end
"""
- When I run "rspec ./error_in_before_each_spec.rb"
+ When I run "rspec error_in_before_each_spec.rb"
Then the output should contain "1 example, 1 failure"
And the output should contain "this error"

0 comments on commit a1064cf

Please sign in to comment.