Skip to content
Browse files

Removed old deprecation test because the warning was removed in 1129a24

  • Loading branch information...
1 parent 9a5ffaa commit c0dd0cee46ac2d0864dc8bbdac1fe526f9cec346 @josh josh committed Aug 22, 2008
Showing with 3 additions and 9 deletions.
  1. +3 −9 actionmailer/test/mail_render_test.rb
View
12 actionmailer/test/mail_render_test.rb
@@ -20,13 +20,13 @@ def rxml_template(recipient)
subject "rendering rxml template"
from "tester@example.com"
end
-
+
def included_subtemplate(recipient)
recipients recipient
subject "Including another template in the one being rendered"
from "tester@example.com"
end
-
+
def included_old_subtemplate(recipient)
recipients recipient
subject "Including another template in the one being rendered"
@@ -83,17 +83,11 @@ def test_rxml_template
mail = RenderMailer.deliver_rxml_template(@recipient)
assert_equal "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<test/>", mail.body.strip
end
-
+
def test_included_subtemplate
mail = RenderMailer.deliver_included_subtemplate(@recipient)
assert_equal "Hey Ho, let's go!", mail.body.strip
end
-
- def test_deprecated_old_subtemplate
- assert_raises ActionView::ActionViewError do
- RenderMailer.deliver_included_old_subtemplate(@recipient)
- end
- end
end
class FirstSecondHelperTest < Test::Unit::TestCase

0 comments on commit c0dd0ce

Please sign in to comment.
Something went wrong with that request. Please try again.