aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-03-15 04:09:52 +0100
committerPiotr Sarnacki <drogus@gmail.com>2012-03-15 04:14:49 +0100
commit5b94e73d1a604c59ecd1ebb9441d60ea864fa1b5 (patch)
treeab3d35b5be4d22213e8092a12df8f5a4450ecb0e /actionpack/test
parente884f4b6b7440ccbeec2149669f34d2a2c14d4fb (diff)
downloadrails-5b94e73d1a604c59ecd1ebb9441d60ea864fa1b5.tar.gz
rails-5b94e73d1a604c59ecd1ebb9441d60ea864fa1b5.tar.bz2
rails-5b94e73d1a604c59ecd1ebb9441d60ea864fa1b5.zip
Remove ActionController::TestCase#rescue_action_in_public!
This method has no effect since exception handling was moved to middlewares and ActionController tests do not use any middlewares.
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/base_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb
index 03d9873fc7..2d4083252e 100644
--- a/actionpack/test/controller/base_test.rb
+++ b/actionpack/test/controller/base_test.rb
@@ -130,8 +130,6 @@ class PerformActionTest < ActionController::TestCase
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
@request.host = "www.nextangle.com"
-
- rescue_action_in_public!
end
def test_process_should_be_precise
@@ -155,7 +153,6 @@ class UrlOptionsTest < ActionController::TestCase
def setup
super
@request.host = 'www.example.com'
- rescue_action_in_public!
end
def test_url_for_query_params_included
@@ -206,7 +203,6 @@ class DefaultUrlOptionsTest < ActionController::TestCase
def setup
super
@request.host = 'www.example.com'
- rescue_action_in_public!
end
def test_default_url_options_override
@@ -257,7 +253,6 @@ class EmptyUrlOptionsTest < ActionController::TestCase
def setup
super
@request.host = 'www.example.com'
- rescue_action_in_public!
end
def test_ensure_url_for_works_as_expected_when_called_with_no_options_if_default_url_options_is_not_set