aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/tmail_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailer/test/tmail_test.rb')
-rw-r--r--actionmailer/test/tmail_test.rb1
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