diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-09-14 05:30:52 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-09-14 05:30:52 +0000 |
commit | 12f8f8930794b2ae56630e846300c3aff0a7a58e (patch) | |
tree | 7ee4b4e95b7c830e70fd7f94e1d3c963dffc6a71 /actionmailer/test/tmail_test.rb | |
parent | 15f7f1a38041c0b3355f2a323f785465b44029f9 (diff) | |
download | rails-12f8f8930794b2ae56630e846300c3aff0a7a58e.tar.gz rails-12f8f8930794b2ae56630e846300c3aff0a7a58e.tar.bz2 rails-12f8f8930794b2ae56630e846300c3aff0a7a58e.zip |
Fix attachment decoding when using the TMail C extension. Closes #7861.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/test/tmail_test.rb')
-rw-r--r-- | actionmailer/test/tmail_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailer/test/tmail_test.rb b/actionmailer/test/tmail_test.rb index dcba4b5ff3..b40d8945c5 100644 --- a/actionmailer/test/tmail_test.rb +++ b/actionmailer/test/tmail_test.rb @@ -16,6 +16,7 @@ class TMailMailTest < Test::Unit::TestCase mail = TMail::Mail.parse(fixture) assert_equal 2, mail.attachments.length assert_equal "image/png", mail.attachments.first.content_type + assert_equal 1902, mail.attachments.first.length assert_equal "application/pkcs7-signature", mail.attachments.last.content_type end end |