diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-19 09:05:34 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-19 09:06:21 -0600 |
commit | 88ffba232987d00717560eaac7ab4f1104e054cd (patch) | |
tree | 59dc40905903741f1d7306c91bb9175428857759 /actionpack/lib | |
parent | a8e25a518ae8df1682c84affa3b986ca3627da12 (diff) | |
download | rails-88ffba232987d00717560eaac7ab4f1104e054cd.tar.gz rails-88ffba232987d00717560eaac7ab4f1104e054cd.tar.bz2 rails-88ffba232987d00717560eaac7ab4f1104e054cd.zip |
Disable ShowExceptions during integration tests
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 4ec47d146c..d4c9df7ebd 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -259,7 +259,9 @@ module ActionDispatch "HTTP_HOST" => host, "REMOTE_ADDR" => remote_addr, "CONTENT_TYPE" => "application/x-www-form-urlencoded", - "HTTP_ACCEPT" => accept + "HTTP_ACCEPT" => accept, + + "action_dispatch.show_exceptions" => false } (rack_environment || {}).each do |key, value| |