From 483931ea615d49a31d6de225f273e0945ad6cbb3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 6 May 2005 10:39:00 +0000 Subject: Fixed the TMail#body method to look at the content-transfer-encoding header and unquote the body according to the rules it specifies #1265 [Jamis Buck] Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/test/mail_service_test.rb | 62 +++++++++++++++++++++++++++++++--- 1 file changed, 57 insertions(+), 5 deletions(-) (limited to 'actionmailer/test') diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 04fa6bde1f..4863c9b4f4 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -240,20 +240,72 @@ class ActionMailerTest < Test::Unit::TestCase assert_equal 1, ActionMailer::Base.deliveries.size end - def test_unquote_subject + def test_unquote_quoted_printable_subject msg = <