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/fixtures | |
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/fixtures')
-rw-r--r-- | actionmailer/test/fixtures/raw_email7 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/raw_email7 b/actionmailer/test/fixtures/raw_email7 index 251172a71f..da64ada8a5 100644 --- a/actionmailer/test/fixtures/raw_email7 +++ b/actionmailer/test/fixtures/raw_email7 @@ -22,6 +22,16 @@ Content-Type: text/plain; This is the first part. --Apple-Mail-12-196940926 +Content-Transfer-Encoding: 7bit +Content-Type: text/x-ruby-script; + x-unix-mode=0666; + name="test.rb" +Content-Disposition: attachment; + filename=test.rb + +puts "testing, testing" + +--Apple-Mail-12-196940926 Content-Transfer-Encoding: base64 Content-Type: application/pdf; x-unix-mode=0666; |