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/test/dispatch/request/json_params_parsing_test.rb | |
parent | a8e25a518ae8df1682c84affa3b986ca3627da12 (diff) | |
download | rails-88ffba232987d00717560eaac7ab4f1104e054cd.tar.gz rails-88ffba232987d00717560eaac7ab4f1104e054cd.tar.bz2 rails-88ffba232987d00717560eaac7ab4f1104e054cd.zip |
Disable ShowExceptions during integration tests
Diffstat (limited to 'actionpack/test/dispatch/request/json_params_parsing_test.rb')
-rw-r--r-- | actionpack/test/dispatch/request/json_params_parsing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request/json_params_parsing_test.rb b/actionpack/test/dispatch/request/json_params_parsing_test.rb index d3308f73cc..0faa99a912 100644 --- a/actionpack/test/dispatch/request/json_params_parsing_test.rb +++ b/actionpack/test/dispatch/request/json_params_parsing_test.rb @@ -35,7 +35,7 @@ class JsonParamsParsingTest < ActionController::IntegrationTest begin $stderr = StringIO.new json = "[\"person]\": {\"name\": \"David\"}}" - post "/parse", json, {'CONTENT_TYPE' => 'application/json'} + post "/parse", json, {'CONTENT_TYPE' => 'application/json', 'action_dispatch.show_exceptions' => true} assert_response :error $stderr.rewind && err = $stderr.read assert err =~ /Error occurred while parsing request parameters/ |