Skip to content

Instantly share code, notes, and snippets.

@hojberg
Created April 9, 2010 12:27
Show Gist options
  • Save hojberg/361109 to your computer and use it in GitHub Desktop.
Save hojberg/361109 to your computer and use it in GitHub Desktop.
# this assert
assert ActionMailer::Base.deliveries.present?
# gives this error when running tests
NoMethodError: undefined method `deliveries' for #<TMail::Mail:0x1094e3a90>
/test/unit/user_test.rb:69:in `test_should_create_token_and_email'
@hojberg
Copy link
Author

hojberg commented Apr 9, 2010

but there should be a method there :) anyways the problem was not related with this as i found out. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment