diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-05-17 11:48:30 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-18 16:12:59 +0200 |
commit | d00afeaeed8d23488c319c2fbdbbe8261eebe611 (patch) | |
tree | bbfeee436f5e21f64d27a48278a2a60df9ca267e /actionmailer/test | |
parent | 0dab076a08110b87aacc27e2ce5a20173b3d458d (diff) | |
download | rails-d00afeaeed8d23488c319c2fbdbbe8261eebe611.tar.gz rails-d00afeaeed8d23488c319c2fbdbbe8261eebe611.tar.bz2 rails-d00afeaeed8d23488c319c2fbdbbe8261eebe611.zip |
Use assert_equal correctly in actionmailer test (exposing one as broken)
[#4626 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionmailer/test')
-rw-r--r-- | actionmailer/test/old_base/mail_service_test.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actionmailer/test/old_base/mail_service_test.rb b/actionmailer/test/old_base/mail_service_test.rb index f91e7f893c..f343d32019 100644 --- a/actionmailer/test/old_base/mail_service_test.rb +++ b/actionmailer/test/old_base/mail_service_test.rb @@ -1048,8 +1048,9 @@ EOF def test_multipart_with_template_path_with_dots mail = FunkyPathMailer.multipart_with_template_path_with_dots(@recipient) assert_equal 2, mail.parts.length - assert "text/plain", mail.parts[1].mime_type - assert "UTF-8", mail.parts[1].charset + assert_equal "text/plain", mail.parts[0].mime_type + assert_equal "text/html", mail.parts[1].mime_type + assert_equal "UTF-8", mail.parts[1].charset end def test_custom_content_type_attributes |