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/dispatch | |
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/dispatch')
-rw-r--r-- | actionpack/test/dispatch/show_exceptions_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/show_exceptions_test.rb b/actionpack/test/dispatch/show_exceptions_test.rb index 020cc80f3f..d3c99e4f31 100644 --- a/actionpack/test/dispatch/show_exceptions_test.rb +++ b/actionpack/test/dispatch/show_exceptions_test.rb @@ -18,7 +18,7 @@ class ShowExceptionsTest < ActionDispatch::IntegrationTest end end - ProductionApp = ActionDispatch::ShowExceptions.new(Boomer.new) + ProductionApp = ActionDispatch::ShowExceptions.new(Boomer.new, ActionDispatch::PublicExceptions.new("#{FIXTURE_LOAD_PATH}/public")) test 'skip diagnosis if not showing exceptions' do @app = ProductionApp |