aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/base_test.rb
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:15:41 +0100
commitccf4ff0360978ea34947e5ca0d9cdea2a026fb7a (patch)
tree5f6e5ee2ba93315d348f63d0e897d138e94efebd /actionpack/test/controller/base_test.rb
parente50abbad4f4141642bf5c4c27ec77852803a3a72 (diff)
downloadrails-ccf4ff0360978ea34947e5ca0d9cdea2a026fb7a.tar.gz
rails-ccf4ff0360978ea34947e5ca0d9cdea2a026fb7a.tar.bz2
rails-ccf4ff0360978ea34947e5ca0d9cdea2a026fb7a.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/controller/base_test.rb')
-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 6f76ab9596..145ef12b94 100644
--- a/actionpack/test/controller/base_test.rb
+++ b/actionpack/test/controller/base_test.rb
@@ -153,8 +153,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
@@ -206,7 +204,6 @@ class UrlOptionsTest < ActionController::TestCase
def setup
super
@request.host = 'www.example.com'
- rescue_action_in_public!
end
##
@@ -306,7 +303,6 @@ class DefaultUrlOptionsTest < ActionController::TestCase
def setup
super
@request.host = 'www.example.com'
- rescue_action_in_public!
end
def test_default_url_options_override
@@ -357,7 +353,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