Created
April 9, 2010 12:27
-
-
Save hojberg/361109 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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' |
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
The error gives the answer: There is no method called deliveries defined in the module ActionMailer::Base.
Now, what is it that you were testing for by doing that?