diff options
Diffstat (limited to 'actionpack/test/controller/deprecation/deprecated_base_methods_test.rb')
-rw-r--r-- | actionpack/test/controller/deprecation/deprecated_base_methods_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb b/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb index 7c6afd358f..6d7157e1a5 100644 --- a/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +++ b/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb @@ -2,9 +2,6 @@ require File.dirname(__FILE__) + '/../../abstract_unit' class DeprecatedBaseMethodsTest < Test::Unit::TestCase class Target < ActionController::Base - def deprecated_render_parameters - render "fun/games/hello_world" - end def home_url(greeting) "http://example.com/#{greeting}" @@ -25,14 +22,6 @@ class DeprecatedBaseMethodsTest < Test::Unit::TestCase @controller = Target.new end - def test_deprecated_render_parameters - assert_deprecated("render('fun/games/hello_world')") do - get :deprecated_render_parameters - end - - assert_equal "Living in a nested world", @response.body - end - def test_log_error_silences_deprecation_warnings get :raises_name_error rescue => e |