diff options
author | Elliott Wood <elliott@two-fish.com> | 2009-03-01 13:08:16 -0700 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-03-02 18:51:30 +1300 |
commit | c41ed929bbbe649c730a90e1f3bf8a1f88dc1f81 (patch) | |
tree | a9e9e8f81f473764948514991c882e99a704c563 /actionmailer/test | |
parent | 38136f86dc5504bde94dc7399d4a854023d7481f (diff) | |
download | rails-c41ed929bbbe649c730a90e1f3bf8a1f88dc1f81.tar.gz rails-c41ed929bbbe649c730a90e1f3bf8a1f88dc1f81.tar.bz2 rails-c41ed929bbbe649c730a90e1f3bf8a1f88dc1f81.zip |
Removed the "charset" parameter from the Content-Type header of multipart sections of nested multipart messages.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#2109 state:committed]
Diffstat (limited to 'actionmailer/test')
-rw-r--r-- | actionmailer/test/mail_service_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 1e04531753..26ba652f2a 100644 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -330,6 +330,7 @@ class ActionMailerTest < Test::Unit::TestCase assert_equal "multipart/mixed", created.content_type assert_equal "multipart/alternative", created.parts.first.content_type assert_equal "bar", created.parts.first.header['foo'].to_s + assert_nil created.parts.first.charset assert_equal "text/plain", created.parts.first.parts.first.content_type assert_equal "text/html", created.parts.first.parts[1].content_type assert_equal "application/octet-stream", created.parts[1].content_type |