Skip to content

Instantly share code, notes, and snippets.

@joshm1
Created August 22, 2010 03:10
Show Gist options
  • Save joshm1/543230 to your computer and use it in GitHub Desktop.
Save joshm1/543230 to your computer and use it in GitHub Desktop.
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