Created
August 22, 2010 03:10
-
-
Save joshm1/543230 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe MyApp::UserRequest do | |
include MyApp | |
# returns wrong number of arguments (1 for 0) | |
# and prints: | |
# No description supplied for example declared on spec/some_spec.rb:8:in `block in <top (required)>' | |
it { should respond_to(:user_to) } | |
# ditto | |
it { should respond_to(:user_from) } | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment