1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

deliver_ is an old API

This commit is contained in:
Akira Matsuda 2013-01-04 04:54:39 +09:00
parent f89fa2ae71
commit db4af11304

View file

@ -4,9 +4,9 @@ module ActionMailer
#
# def test_emails
# assert_emails 0
# ContactMailer.deliver_contact
# ContactMailer.welcome.deliver
# assert_emails 1
# ContactMailer.deliver_contact
# ContactMailer.welcome.deliver
# assert_emails 2
# end
#
@ -15,12 +15,12 @@ module ActionMailer
#
# def test_emails_again
# assert_emails 1 do
# ContactMailer.deliver_contact
# ContactMailer.welcome.deliver
# end
#
# assert_emails 2 do
# ContactMailer.deliver_contact
# ContactMailer.deliver_contact
# ContactMailer.welcome.deliver
# ContactMailer.welcome.deliver
# end
# end
def assert_emails(number)
@ -38,7 +38,7 @@ module ActionMailer
#
# def test_emails
# assert_no_emails
# ContactMailer.deliver_contact
# ContactMailer.welcome.deliver
# assert_emails 1
# end
#