diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-16 10:38:17 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-16 10:45:59 +0100 |
commit | 654df86b7b022085785a64c431c45d8450d5e987 (patch) | |
tree | 59daaf75560cd1e128cf67a83afd7f218ba9dccd /railties/test | |
parent | 192e55c38ed9b48672b9e216c9805b782b835d78 (diff) | |
download | rails-654df86b7b022085785a64c431c45d8450d5e987.tar.gz rails-654df86b7b022085785a64c431c45d8450d5e987.tar.bz2 rails-654df86b7b022085785a64c431c45d8450d5e987.zip |
Show detailed exceptions no longer returns true if the request is local in production.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/middleware/exceptions_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/application/middleware/exceptions_test.rb b/railties/test/application/middleware/exceptions_test.rb index 6819e3e2e2..a9cde42be8 100644 --- a/railties/test/application/middleware/exceptions_test.rb +++ b/railties/test/application/middleware/exceptions_test.rb @@ -88,6 +88,7 @@ module ApplicationTests test "displays diagnostics message when exception raised in template that contains UTF-8" do app.config.action_dispatch.show_exceptions = true + app.config.consider_all_requests_local = true controller :foo, <<-RUBY class FooController < ActionController::Base |