public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/thewoolleyman/rails.git
Removed old deprecation test because the warning was removed in 1129a24
josh (author)
Fri Aug 22 11:43:34 -0700 2008
commit  c0dd0cee46ac2d0864dc8bbdac1fe526f9cec346
tree    89d01fba50d7ddf1fe1a288d63bcd8bd96727f40
parent  9a5ffaa01e5a13d9ec2209a1a937d46fc12615a1
...
20
21
22
23
 
24
25
26
27
28
29
 
30
31
32
...
83
84
85
86
 
87
88
89
90
91
92
93
94
95
96
97
98
99
...
20
21
22
 
23
24
25
26
27
28
 
29
30
31
32
...
83
84
85
 
86
87
88
89
90
 
 
 
 
 
 
91
92
93
0
@@ -20,13 +20,13 @@ class RenderMailer < ActionMailer::Base
0
     subject "rendering rxml template"
0
     from "tester@example.com"
0
   end
0
-
0
+
0
   def included_subtemplate(recipient)
0
     recipients recipient
0
     subject "Including another template in the one being rendered"
0
     from "tester@example.com"
0
   end
0
-
0
+
0
   def included_old_subtemplate(recipient)
0
     recipients recipient
0
     subject "Including another template in the one being rendered"
0
@@ -83,17 +83,11 @@ class RenderHelperTest < Test::Unit::TestCase
0
     mail = RenderMailer.deliver_rxml_template(@recipient)
0
     assert_equal "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<test/>", mail.body.strip
0
   end
0
-
0
+
0
   def test_included_subtemplate
0
     mail = RenderMailer.deliver_included_subtemplate(@recipient)
0
     assert_equal "Hey Ho, let's go!", mail.body.strip
0
   end
0
-
0
- def test_deprecated_old_subtemplate
0
- assert_raises ActionView::ActionViewError do
0
- RenderMailer.deliver_included_old_subtemplate(@recipient)
0
- end
0
- end
0
 end
0
 
0
 class FirstSecondHelperTest < Test::Unit::TestCase

Comments

    No one has commented yet.