Skip to content

Commit

Permalink
Merge pull request #5871 from rafaelfranca/patch-1
Browse files Browse the repository at this point in the history
Remove unused test code.
  • Loading branch information
josevalim committed Apr 17, 2012
2 parents 3df776c + 4b85acb commit 7169882
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions actionpack/test/controller/rescue_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ class ResourceUnavailableToRescueAsString < StandardError
render :text => exception.message render :text => exception.message
end 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 rescue_from ActionView::TemplateError do
render :text => 'action_view templater error' render :text => 'action_view templater error'
end end
Expand Down

0 comments on commit 7169882

Please sign in to comment.