From 391755be91301c89bcb5715214fa05fb5adc4fd3 Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Mon, 17 May 2010 11:48:30 -0400 Subject: [PATCH] Use assert_equal correctly in actionmailer test (exposing one as broken) [#4626 state:resolved] --- 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 f91e7f8..f343d32 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 -- 1.6.5.2