aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2010-01-20 14:12:17 +1100
committerMikel Lindsaar <raasdnil@gmail.com>2010-01-20 14:12:17 +1100
commitc04baed627c85e586e337896d64f61f397554a46 (patch)
treec73f865789734bbeb9ea6cfeb8b89bc627b5277e /actionmailer
parent2a3ec5fee447a9b3729d04499d9e72b44079faef (diff)
downloadrails-c04baed627c85e586e337896d64f61f397554a46.tar.gz
rails-c04baed627c85e586e337896d64f61f397554a46.tar.bz2
rails-c04baed627c85e586e337896d64f61f397554a46.zip
Fixing failing test on sendmail expectation
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/mail_service_test.rb2
1 files changed, 1 insertions, 1 deletions
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