Permalink
Browse files

use rspec command in features

  • Loading branch information...
1 parent 178cff6 commit 8930fd396584be4afacdb0f2c08e492a652ffca8 @dchelimsky dchelimsky committed Apr 24, 2010
Showing with 4 additions and 4 deletions.
  1. +2 −2 features/matchers/expect_change.feature
  2. +2 −2 features/matchers/expect_error.feature
@@ -29,7 +29,7 @@ Feature: expect change
end
end
"""
- When I run "spec expect_change_spec.rb"
+ When I run "rspec expect_change_spec.rb"
Then I should see "2 examples, 1 failure"
Then I should see "should have been changed by 2, but was changed by 1"
@@ -60,6 +60,6 @@ Feature: expect change
end
end
"""
- When I run "spec expect_no_change_spec.rb"
+ When I run "rspec expect_no_change_spec.rb"
Then I should see "2 examples, 1 failure"
Then I should see "should not have changed, but did change from 1 to 2"
@@ -18,7 +18,7 @@ Feature: expect error
end
end
"""
- When I run "spec expect_error_spec.rb"
+ When I run "rspec expect_error_spec.rb"
Then I should see "2 examples, 1 failure"
Then I should see "expected NameError but nothing was raised"
@@ -38,7 +38,7 @@ Feature: expect error
end
end
"""
- When I run "spec expect_no_error_spec.rb"
+ When I run "rspec expect_no_error_spec.rb"
Then I should see "2 examples, 1 failure"
Then I should see "undefined method `non_existent_message'"

0 comments on commit 8930fd3

Please sign in to comment.