aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/url_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/url_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/url_test.rb')
-rw-r--r--actionmailer/test/url_test.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/actionmailer/test/url_test.rb b/actionmailer/test/url_test.rb
index 0e565b95e8..6334466a92 100644
--- a/actionmailer/test/url_test.rb
+++ b/actionmailer/test/url_test.rb
@@ -69,10 +69,16 @@ class ActionMailerUrlTest < Test::Unit::TestCase
created = nil
assert_nothing_raised { created = TestMailer.create_signed_up_with_url(@recipient) }
assert_not_nil created
+
+ expected.message_id = '<123@456>'
+ created.message_id = '<123@456>'
assert_equal expected.encoded, created.encoded
assert_nothing_raised { TestMailer.deliver_signed_up_with_url(@recipient) }
assert_not_nil ActionMailer::Base.deliveries.first
- assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+ delivered = ActionMailer::Base.deliveries.first
+
+ delivered.message_id = '<123@456>'
+ assert_equal expected.encoded, delivered.encoded
end
end