diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-01 20:46:18 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-01 20:46:18 +0100 |
commit | 750bb5c865ac9234da91ec451eec7d9de55b8f9b (patch) | |
tree | 16873e2a42d812f637cde622ab933e1e7667f10c /actionpack/test/dispatch | |
parent | 956ecff8337908d7c3908977a5c8e12296a5b576 (diff) | |
download | rails-750bb5c865ac9234da91ec451eec7d9de55b8f9b.tar.gz rails-750bb5c865ac9234da91ec451eec7d9de55b8f9b.tar.bz2 rails-750bb5c865ac9234da91ec451eec7d9de55b8f9b.zip |
Split ShowExceptions responsibilities in two middlewares.
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/show_exceptions_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/show_exceptions_test.rb b/actionpack/test/dispatch/show_exceptions_test.rb index 90f13a3bb9..4f1140b5d3 100644 --- a/actionpack/test/dispatch/show_exceptions_test.rb +++ b/actionpack/test/dispatch/show_exceptions_test.rb @@ -29,8 +29,8 @@ class ShowExceptionsTest < ActionDispatch::IntegrationTest end end - ProductionApp = ActionDispatch::ShowExceptions.new(Boomer.new(false)) - DevelopmentApp = ActionDispatch::ShowExceptions.new(Boomer.new(true)) + ProductionApp = ActionDispatch::ShowExceptions.new(ActionDispatch::DebugExceptions.new(Boomer.new(false))) + DevelopmentApp = ActionDispatch::ShowExceptions.new(ActionDispatch::DebugExceptions.new(Boomer.new(true))) test "rescue with error page when show_exceptions is false" do @app = ProductionApp |