Created
November 7, 2012 18:26
-
-
Save amiel/4033409 to your computer and use it in GitHub Desktop.
Crazy not-parse-error failed like so
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
deliveries = ActionMailer::Base.deliveries. # <= note extra `.` | |
assert_equal I18n.t('user_mailer.bid_confirmation_email.subject'), deliveries.first.subject | |
# => NoMethodError: undefined method `first' for nil:NilClass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment