diff options
author | Jamis Buck <jamis@37signals.com> | 2005-06-22 10:12:06 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-06-22 10:12:06 +0000 |
commit | 053cb22c17b42bdd4bf60a96fbe73df332430556 (patch) | |
tree | a6873716f4481d5015a234e44cabb5599b175162 /actionmailer/test | |
parent | 2694b8cf276b52644495dc678436a10d9f8cee6d (diff) | |
download | rails-053cb22c17b42bdd4bf60a96fbe73df332430556.tar.gz rails-053cb22c17b42bdd4bf60a96fbe73df332430556.tar.bz2 rails-053cb22c17b42bdd4bf60a96fbe73df332430556.zip |
Use the real charset for parts generated by a template, instead of the string "charset".
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/test')
-rwxr-xr-x | actionmailer/test/mail_service_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index b61565023c..8eb001ab25 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -479,7 +479,9 @@ EOF mail = TestMailer.create_implicitly_multipart_example(@recipient) assert_equal 2, mail.parts.length assert_equal "text/html", mail.parts[0].content_type + assert_equal "utf-8", mail.parts[0].sub_header("content-type", "charset") assert_equal "text/plain", mail.parts[1].content_type + assert_equal "utf-8", mail.parts[1].sub_header("content-type", "charset") end def test_html_mail |