diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-09-03 00:18:30 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-09-03 00:18:30 +0000 |
commit | f81dae3fca46c43d1fb6e4cb40734ef35623a72e (patch) | |
tree | 987017ae80580ee8f39c877a8f91c8b42eae14c5 /actionpack/test/controller/deprecation/deprecated_base_methods_test.rb | |
parent | 6246fad19a5ec747f5914c142b8631af212d47ea (diff) | |
download | rails-f81dae3fca46c43d1fb6e4cb40734ef35623a72e.tar.gz rails-f81dae3fca46c43d1fb6e4cb40734ef35623a72e.tar.bz2 rails-f81dae3fca46c43d1fb6e4cb40734ef35623a72e.zip |
Remove deprecated functionality from actionpack. Closes #8958 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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 |