diff options
Diffstat (limited to 'actionpack/test/controller/test_test.rb')
-rw-r--r-- | actionpack/test/controller/test_test.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb index ab44fbf3ca..e2f78ad30c 100644 --- a/actionpack/test/controller/test_test.rb +++ b/actionpack/test/controller/test_test.rb @@ -54,10 +54,6 @@ HTML render :text => params[:file].size end - def redirect_to_symbol - redirect_to :generate_url, :id => 5 - end - def redirect_to_same_controller redirect_to :controller => 'test', :action => 'test_uri', :id => 5 end @@ -440,16 +436,6 @@ HTML assert_raise(RuntimeError) { ActionController::TestUploadedFile.new('non_existent_file') } end - def test_assert_redirected_to_symbol - with_foo_routing do |set| - assert_deprecated(/generate_url.*redirect_to/) do - get :redirect_to_symbol - end - assert_response :redirect - assert_redirected_to :generate_url - end - end - def test_assert_follow_redirect_to_same_controller with_foo_routing do |set| get :redirect_to_same_controller |