diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-16 09:29:37 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-16 10:45:59 +0100 |
commit | deef8dd68241cdb9826a2293bced5e2257ccea90 (patch) | |
tree | 08240789fde8372129737f2ef0f710ff9b9a9a44 /actionpack/test/controller | |
parent | d1425725673b0172d6561adebaed017b51db9333 (diff) | |
download | rails-deef8dd68241cdb9826a2293bced5e2257ccea90.tar.gz rails-deef8dd68241cdb9826a2293bced5e2257ccea90.tar.bz2 rails-deef8dd68241cdb9826a2293bced5e2257ccea90.zip |
Extract the rendering of public exceptions pages into a Rack app.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/show_exceptions_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/show_exceptions_test.rb b/actionpack/test/controller/show_exceptions_test.rb index 2f5c268330..ba78559f31 100644 --- a/actionpack/test/controller/show_exceptions_test.rb +++ b/actionpack/test/controller/show_exceptions_test.rb @@ -2,7 +2,7 @@ require 'abstract_unit' module ShowExceptions class ShowExceptionsController < ActionController::Base - use ActionDispatch::ShowExceptions + use ActionDispatch::ShowExceptions, ActionDispatch::PublicExceptions.new("#{FIXTURE_LOAD_PATH}/public") use ActionDispatch::DebugExceptions before_filter :only => :another_boom do |