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 173
def last_delivered_mail
self.class.mailer_class.deliveries.last
end
Defined in actionmailer/lib/action_mailer/test_case.rb line 173
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::TestCase::Behavior