From db0e8ff1c3496841d7a307794dacecd82e55ce6a Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sat, 18 Mar 2006 23:53:07 +0000 Subject: Parse content-type apart before using it so that sub-parts of the header can be set correctly (closes #2918) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/test/mail_service_test.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'actionmailer/test') diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index b60b1c1b8b..0689bf6728 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -246,6 +246,14 @@ class TestMailer < ActionMailer::Base body "testing" end + def custom_content_type_attributes + recipients "no.one@nowhere.test" + subject "custom content types" + from "some.one@somewhere.test" + content_type "text/plain; format=flowed" + body "testing" + end + class <