aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_test.rb
diff options
context:
space:
mode:
authorJosh Kalderimis <josh.kalderimis@gmail.com>2011-05-24 23:38:59 +0200
committerJosh Kalderimis <josh.kalderimis@gmail.com>2011-05-24 23:38:59 +0200
commitd182b6ee9c99901553e6e948f91102d03bb041b0 (patch)
tree136116fbbd3205946cbacf57273501c3675458aa /actionpack/test/controller/render_test.rb
parent90f59b24dc994b0edca22dbed30846738ddcc41d (diff)
downloadrails-d182b6ee9c99901553e6e948f91102d03bb041b0.tar.gz
rails-d182b6ee9c99901553e6e948f91102d03bb041b0.tar.bz2
rails-d182b6ee9c99901553e6e948f91102d03bb041b0.zip
removed deprecated methods, and related tests, from ActionPack
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r--actionpack/test/controller/render_test.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb
index e62f3155c5..be59da9105 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -1023,11 +1023,6 @@ class RenderTest < ActionController::TestCase
assert_equal " ", @response.body
end
- def test_render_to_string_not_deprecated
- assert_not_deprecated { get :hello_in_a_string }
- assert_equal "How's there? goodbyeHello: davidHello: marygoodbye\n", @response.body
- end
-
def test_render_to_string_doesnt_break_assigns
get :render_to_string_with_assigns
assert_equal "i'm before the render", assigns(:before)
@@ -1106,7 +1101,7 @@ class RenderTest < ActionController::TestCase
end
def test_yield_content_for
- assert_not_deprecated { get :yield_content_for }
+ get :yield_content_for
assert_equal "<title>Putting stuff in the title!</title>\nGreat stuff!\n", @response.body
end