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:
parent
f89fa2ae71
commit
db4af11304
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue