Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused test code.

ActionController::RoutingError are raised in router execution time and can not be
rescued in a controller.
  • Loading branch information...
commit 4b85acba43da7c1354b3b13b599b147a0e31c327 1 parent 86c640a
@rafaelfranca rafaelfranca authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/test/controller/rescue_test.rb
View
5 actionpack/test/controller/rescue_test.rb
@@ -60,11 +60,6 @@ class ResourceUnavailableToRescueAsString < StandardError
render :text => exception.message
end
- # This is a Dispatcher exception and should be in ApplicationController.
- rescue_from ActionController::RoutingError do
- render :text => 'no way'
- end
-
rescue_from ActionView::TemplateError do
render :text => 'action_view templater error'
end
Please sign in to comment.
Something went wrong with that request. Please try again.