aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
diff options
context:
space:
mode:
authorMatt Jones <al2o3cr@gmail.com>2009-02-03 14:58:20 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-02-05 20:53:02 +0100
commit250dfb18afb58dda3caf4b9f170ddb9c5cf85faf (patch)
tree2db409c7d6fa5cd4467e6055f68deb95ddb46efe /actionmailer/test
parent5a8f764661bcdf9c6ce503c0ff343a1970deb1bb (diff)
downloadrails-250dfb18afb58dda3caf4b9f170ddb9c5cf85faf.tar.gz
rails-250dfb18afb58dda3caf4b9f170ddb9c5cf85faf.tar.bz2
rails-250dfb18afb58dda3caf4b9f170ddb9c5cf85faf.zip
Fixed that ActionMailer should send correctly formatted Return-Path in MAIL FROM for SMTP [#1842 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Diffstat (limited to 'actionmailer/test')
-rw-r--r--actionmailer/test/mail_service_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb
index 79ade38155..1e04531753 100644
--- a/actionmailer/test/mail_service_test.rb
+++ b/actionmailer/test/mail_service_test.rb
@@ -938,6 +938,7 @@ EOF
ActionMailer::Base.delivery_method = :smtp
TestMailer.deliver_return_path
assert_match %r{^Return-Path: <another@somewhere.test>}, MockSMTP.deliveries[0][0]
+ assert_equal "another@somewhere.test", MockSMTP.deliveries[0][1].to_s
end
def test_body_is_stored_as_an_ivar