From 90d7ae23c6f5a7e914d8b9fd74481ac61b6c4fb9 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 15 Sep 2009 10:05:46 -0500 Subject: Remove global exception catching from ApplicationController. It was severely broken since it was ported to NewBase and is causing problems with normal exception catching. A replacement is coming soon. --- actionpack/test/controller/rescue_test.rb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/rescue_test.rb b/actionpack/test/controller/rescue_test.rb index 23408712e9..e8ca1ad0ee 100644 --- a/actionpack/test/controller/rescue_test.rb +++ b/actionpack/test/controller/rescue_test.rb @@ -331,18 +331,18 @@ class RescueTest < ActionController::IntegrationTest end end - test 'rescue routing exceptions' do - assert_equal 1, ApplicationController.rescue_handlers.length - - begin - with_test_routing do - get '/no_way' - assert_equal 'no way', response.body - end - ensure - ActionController::Base.rescue_handlers.clear - end - end + # test 'rescue routing exceptions' do + # assert_equal 1, ApplicationController.rescue_handlers.length + # + # begin + # with_test_routing do + # get '/no_way' + # assert_equal 'no way', response.body + # end + # ensure + # ActionController::Base.rescue_handlers.clear + # end + # end test 'unrescued exception' do with_test_routing do -- cgit v1.2.3