From c04baed627c85e586e337896d64f61f397554a46 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Wed, 20 Jan 2010 14:12:17 +1100 Subject: Fixing failing test on sendmail expectation --- actionmailer/test/mail_service_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/test') diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 7b5f8b1ffc..396dd00a91 100644 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -679,7 +679,7 @@ class ActionMailerTest < Test::Unit::TestCase end def test_performs_delivery_via_sendmail - IO.expects(:popen).once.with('/usr/sbin/sendmail -i -t test@localhost', 'w+') + IO.expects(:popen).once.with('/usr/sbin/sendmail -i -t -f "system@loudthinking.com" test@localhost', 'w+') ActionMailer::Base.delivery_method = :sendmail TestMailer.deliver_signed_up(@recipient) end -- cgit v1.2.3