Skip to content
Browse files

Fix rspec command in README.

In response to http://stackoverflow.com/questions/15009603/rspec-fire-specs-passing-when-they-shouldnt.

We need to load the lib file, and not simply put it on the load path.
  • Loading branch information...
1 parent 3b4480a commit 84eb8ca68845c3d1648b5507737e2ae3019c3328 @myronmarston myronmarston committed Feb 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -87,7 +87,7 @@ Run your specs:
rspec spec/user_spec.rb
# Will fail if EmailNotifier#notify method is not defined
- rspec -Ilib/email_notifier.rb spec/user_spec.rb
+ rspec -Ilib -remail_notifier.rb spec/user_spec.rb
Method presence/absence is checked, and if a `with` is provided then so is
arity.

0 comments on commit 84eb8ca

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