aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/mail_service_test.rb
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2009-12-17 12:00:32 +1100
committerMikel Lindsaar <raasdnil@gmail.com>2009-12-17 12:00:32 +1100
commit418639b4cfe477d7309fa53e8b8e2472b44bda80 (patch)
tree1ffcf8e58a2d8c53311f90970c566f258d18cdd0 /actionmailer/test/mail_service_test.rb
parent186cd7bc530f705b889c27f3680ab48c7c10a6f3 (diff)
downloadrails-418639b4cfe477d7309fa53e8b8e2472b44bda80.tar.gz
rails-418639b4cfe477d7309fa53e8b8e2472b44bda80.tar.bz2
rails-418639b4cfe477d7309fa53e8b8e2472b44bda80.zip
Fixes for working with 1.9.1-head
Diffstat (limited to 'actionmailer/test/mail_service_test.rb')
-rw-r--r--actionmailer/test/mail_service_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb
index dd8307a834..122c20a308 100644
--- a/actionmailer/test/mail_service_test.rb
+++ b/actionmailer/test/mail_service_test.rb
@@ -534,7 +534,7 @@ class ActionMailerTest < Test::Unit::TestCase
assert_not_nil mail
mail, from, to = mail
- assert_equal 'system@loudthinking.com', from.to_s
+ assert_equal 'system@loudthinking.com', from.decoded
end
def test_from_with_name_for_smtp
@@ -545,7 +545,7 @@ class ActionMailerTest < Test::Unit::TestCase
assert_not_nil mail
mail, from, to = mail
- assert_equal 'system@loudthinking.com', from.to_s
+ assert_equal 'system@loudthinking.com', from.addresses.first
end
def test_reply_to