instance method
last_delivered_mail!
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
last_delivered_mail!()
No documentation comment.
Source
# File actionmailer/lib/action_mailer/test_case.rb, line 177
def last_delivered_mail!
last_delivered_mail.tap do |mail|
flunk "No e-mail in delivery list" if mail.nil?
end
end
Defined in actionmailer/lib/action_mailer/test_case.rb line 177
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::TestCase::Behavior