Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Created May 14, 2009 17:22
Show Gist options
  • Save jpemberthy/111776 to your computer and use it in GitHub Desktop.
Save jpemberthy/111776 to your computer and use it in GitHub Desktop.
1)
NoMethodError in 'SignupsController responding to POST new with a valid user should send email'
undefined method `assert_sent_email' for #<Spec::Rails::Example::ControllerExampleGroup::Subclass_1::Subclass_4:0x20fca24>
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/test_process.rb:503:in `method_missing'
./spec/controllers/signups_controller_spec.rb:71:
2)
NameError in 'SignupsController responding to POST new with an INVALID user should not send email'
undefined local variable or method `assert_did_not_send_email' for #<Spec::Rails::Example::ControllerExampleGroup::Subclass_1::Subclass_5:0x20aa670>
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/test_process.rb:503:in `method_missing'
./spec/controllers/signups_controller_spec.rb:87:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment