Skip to content

Commit

Permalink
Fix failing AP test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed May 1, 2013
1 parent 3064d64 commit 630d2e4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -50,7 +50,7 @@ def teardown
output = StringIO.new
json = "[\"person]\": {\"name\": \"David\"}}"
post "/parse", json, {'CONTENT_TYPE' => 'application/json', 'action_dispatch.show_exceptions' => true, 'action_dispatch.logger' => ActiveSupport::Logger.new(output)}
assert_response :error
assert_response :bad_request
output.rewind && err = output.read
assert err =~ /Error occurred while parsing request parameters/
end
Expand Down

0 comments on commit 630d2e4

Please sign in to comment.