diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-04 04:54:39 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-04 04:54:39 +0900 |
commit | db4af113048b5890177c1ac136f0ae7d1c066375 (patch) | |
tree | 859fb8a693453593fc41d41bc0073b8303ec8729 | |
parent | f89fa2ae71f8a0496b84793b2a2ad205127f3102 (diff) | |
download | rails-db4af113048b5890177c1ac136f0ae7d1c066375.tar.gz rails-db4af113048b5890177c1ac136f0ae7d1c066375.tar.bz2 rails-db4af113048b5890177c1ac136f0ae7d1c066375.zip |
deliver_ is an old API
-rw-r--r-- | actionmailer/lib/action_mailer/test_helper.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/actionmailer/lib/action_mailer/test_helper.rb b/actionmailer/lib/action_mailer/test_helper.rb index 3ab37d8142..6452bf616c 100644 --- a/actionmailer/lib/action_mailer/test_helper.rb +++ b/actionmailer/lib/action_mailer/test_helper.rb @@ -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 # |