diff options
author | Erik Michaels-Ober <sferik@gmail.com> | 2013-05-11 13:59:37 -0700 |
---|---|---|
committer | Erik Michaels-Ober <sferik@gmail.com> | 2013-05-11 21:43:48 -0700 |
commit | ce4456fde6f45f1abd020cbdeb520d401299e01f (patch) | |
tree | a0d5b9d0173eff0adbd6854e7c6e0ad0c3f6c824 /actionpack | |
parent | 98ade30e421e2c9e405060bba87ecbd092f11698 (diff) | |
download | rails-ce4456fde6f45f1abd020cbdeb520d401299e01f.tar.gz rails-ce4456fde6f45f1abd020cbdeb520d401299e01f.tar.bz2 rails-ce4456fde6f45f1abd020cbdeb520d401299e01f.zip |
Replace multi_json with json
Diffstat (limited to 'actionpack')
-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 8d0a845f15..b62ed6a8b2 100644 --- a/actionpack/test/dispatch/request/json_params_parsing_test.rb +++ b/actionpack/test/dispatch/request/json_params_parsing_test.rb @@ -62,7 +62,7 @@ class JsonParamsParsingTest < ActionDispatch::IntegrationTest $stderr = StringIO.new # suppress the log json = "[\"person]\": {\"name\": \"David\"}}" exception = assert_raise(ActionDispatch::ParamsParser::ParseError) { post "/parse", json, {'CONTENT_TYPE' => 'application/json', 'action_dispatch.show_exceptions' => false} } - assert_equal MultiJson::DecodeError, exception.original_exception.class + assert_equal JSON::ParserError, exception.original_exception.class assert_equal exception.original_exception.message, exception.message ensure $stderr = STDERR |