diff options
author | Jamis Buck <jamis@37signals.com> | 2006-01-23 16:48:24 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-01-23 16:48:24 +0000 |
commit | 185cca238bc1df79a3bb438679bbbeb980f82078 (patch) | |
tree | ee8bcd6e0585e77e1028cd675baba51438300a98 /actionmailer/test/mail_service_test.rb | |
parent | acfb8b6191338cdb04707e2e1e8ac1cdbb595b4f (diff) | |
download | rails-185cca238bc1df79a3bb438679bbbeb980f82078.tar.gz rails-185cca238bc1df79a3bb438679bbbeb980f82078.tar.bz2 rails-185cca238bc1df79a3bb438679bbbeb980f82078.zip |
Make sure anything with content-disposition of "attachment" is passed to the attachment presenter when parsing an email body
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/test/mail_service_test.rb')
-rwxr-xr-x | actionmailer/test/mail_service_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 94dd70200b..4d569da31f 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -704,7 +704,7 @@ EOF def test_recursive_multipart_processing fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email7") mail = TMail::Mail.parse(fixture) - assert_equal "This is the first part.\n\nAttachment: test.pdf\n\n\nAttachment: smime.p7s\n", mail.body + assert_equal "This is the first part.\n\nAttachment: test.rb\nAttachment: test.pdf\n\n\nAttachment: smime.p7s\n", mail.body end def test_decode_encoded_attachment_filename |