diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-19 01:35:41 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-19 01:36:07 +0100 |
commit | f00cbf78725caa44ca46150c4708f9a4fad0e023 (patch) | |
tree | 85decb3287d4ecc2562371954ddc4a803e18d643 /actionmailer/test | |
parent | a0374582ff6d403a48b018df666b064f4c261f20 (diff) | |
download | rails-f00cbf78725caa44ca46150c4708f9a4fad0e023.tar.gz rails-f00cbf78725caa44ca46150c4708f9a4fad0e023.tar.bz2 rails-f00cbf78725caa44ca46150c4708f9a4fad0e023.zip |
Bring render_message back for 2.3 compatibility.
Diffstat (limited to 'actionmailer/test')
-rw-r--r-- | actionmailer/test/mail_service_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index d1c4f7b5e9..f87d9b2e5b 100644 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -120,11 +120,11 @@ class TestMailer < ActionMailer::Base content_type "multipart/alternative" part "text/plain" do |p| - p.body = "blah" + p.body = render_message(:text => "blah") end part "text/html" do |p| - p.body = "<b>blah</b>" + p.body = render_message(:inline => "<%= content_tag(:b, 'blah') %>") end end |