diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index f4de8c18944093de970a9cf7e6673f3d499a6b0d..accb18fa25224400e0746f2b692d079d43aacec0 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -162,11 +162,19 @@ def unnamed_attachment(recipient) recipients recipient subject "nested multipart" from "test@example.com" - body "multipart/mixed" + content_type "multipart/mixed" part :content_type => "text/plain", :body => "hullo" attachment :content_type => "application/octet-stream", :body => "test abcdefghijklmnopqstuvwxyz" end - + + def headers_with_nonalpha_chars(recipient) + recipients recipient + subject "nonalpha chars" + from "One: Two " + cc "Three: Four " + bcc "Five: Six " + body "testing" + end class <