diff options
Diffstat (limited to 'actionmailer/test/mail_service_test.rb')
-rwxr-xr-x | actionmailer/test/mail_service_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 73a6f0f6d5..91161e9ddb 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -534,7 +534,8 @@ class ActionMailerTest < Test::Unit::TestCase def test_delivery_logs_sent_mail mail = TestMailer.create_signed_up(@recipient) logger = mock() - logger.expects(:info).with("Sent mail:\n #{mail.encoded}") + logger.expects(:info).with("Sent mail to #{@recipient}") + logger.expects(:debug).with("\n#{mail.encoded}") TestMailer.logger = logger TestMailer.deliver_signed_up(@recipient) end |