diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-15 10:05:46 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-15 10:05:46 -0500 |
commit | 90d7ae23c6f5a7e914d8b9fd74481ac61b6c4fb9 (patch) | |
tree | 1b371ce044be6079102190a43bfae9f5e749d440 /actionpack/test/controller | |
parent | d58ee2300854f4a5a4e0ff4b7e09f412eb2dc189 (diff) | |
download | rails-90d7ae23c6f5a7e914d8b9fd74481ac61b6c4fb9.tar.gz rails-90d7ae23c6f5a7e914d8b9fd74481ac61b6c4fb9.tar.bz2 rails-90d7ae23c6f5a7e914d8b9fd74481ac61b6c4fb9.zip |
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.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/rescue_test.rb | 24 |
1 files changed, 12 insertions, 12 deletions
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 |