diff options
author | José Valim <jose.valim@gmail.com> | 2010-08-29 19:57:51 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-08-29 19:57:51 -0300 |
commit | f5a43138d44455c3da728599af3143950e5fa2a1 (patch) | |
tree | e8ca1e94cdf0269c228e3cd06a19e947de85db77 /actionmailer/test/old_base/mail_render_test.rb | |
parent | c1dbdecda5ae7382fa9d2f8c7ee122d2d11c9d03 (diff) | |
download | rails-f5a43138d44455c3da728599af3143950e5fa2a1.tar.gz rails-f5a43138d44455c3da728599af3143950e5fa2a1.tar.bz2 rails-f5a43138d44455c3da728599af3143950e5fa2a1.zip |
Remove the deprecated API from ActionMailer.
Diffstat (limited to 'actionmailer/test/old_base/mail_render_test.rb')
-rw-r--r-- | actionmailer/test/old_base/mail_render_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/actionmailer/test/old_base/mail_render_test.rb b/actionmailer/test/old_base/mail_render_test.rb index bf489e77d4..9b1455da33 100644 --- a/actionmailer/test/old_base/mail_render_test.rb +++ b/actionmailer/test/old_base/mail_render_test.rb @@ -129,16 +129,6 @@ class RenderHelperTest < Test::Unit::TestCase mail = RenderMailer.no_instance_variable.deliver assert_equal "Look, subject.nil? is true!", mail.body.to_s.strip end - - def test_legacy_multipart_alternative - mail = RenderMailer.multipart_alternative.deliver - assert_equal(2, mail.parts.size) - assert_equal("multipart/alternative", mail.mime_type) - assert_equal("text/plain", mail.parts[0].mime_type) - assert_equal("foo: bar", mail.parts[0].body.encoded) - assert_equal("text/html", mail.parts[1].mime_type) - assert_equal("<strong>foo</strong> bar", mail.parts[1].body.encoded) - end end class FirstSecondHelperTest < Test::Unit::TestCase |