diff options
Diffstat (limited to 'actionmailer/lib/action_mailer/test_case.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/test_case.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/test_case.rb b/actionmailer/lib/action_mailer/test_case.rb index 8035db6f03..49f6d680a2 100644 --- a/actionmailer/lib/action_mailer/test_case.rb +++ b/actionmailer/lib/action_mailer/test_case.rb @@ -43,8 +43,8 @@ module ActionMailer end def set_expected_mail - @expected = TMail::Mail.new - @expected.set_content_type "text", "plain", { "charset" => charset } + @expected = Mail.new + @expected.content_type ["text", "plain", { "charset" => charset }] @expected.mime_version = '1.0' end |