aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-08-22 13:43:34 -0500
committerJoshua Peek <josh@joshpeek.com>2008-08-22 13:43:34 -0500
commitc0dd0cee46ac2d0864dc8bbdac1fe526f9cec346 (patch)
tree89d01fba50d7ddf1fe1a288d63bcd8bd96727f40 /actionmailer
parent9a5ffaa01e5a13d9ec2209a1a937d46fc12615a1 (diff)
downloadrails-c0dd0cee46ac2d0864dc8bbdac1fe526f9cec346.tar.gz
rails-c0dd0cee46ac2d0864dc8bbdac1fe526f9cec346.tar.bz2
rails-c0dd0cee46ac2d0864dc8bbdac1fe526f9cec346.zip
Removed old deprecation test because the warning was removed in 1129a24
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/mail_render_test.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/actionmailer/test/mail_render_test.rb b/actionmailer/test/mail_render_test.rb
index fbcd1887e4..45811612eb 100644
--- a/actionmailer/test/mail_render_test.rb
+++ b/actionmailer/test/mail_render_test.rb
@@ -20,13 +20,13 @@ class RenderMailer < ActionMailer::Base
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 @@ class RenderHelperTest < Test::Unit::TestCase
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