We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4022d commit 109fc42Copy full SHA for 109fc42
spec/unit/client/api_client_spec.rb
@@ -221,7 +221,7 @@
221
response = double('response', headers: headers, body: '{id 1}')
222
expect {
223
api_client_default.deserialize(response, 'Hash<String, Integer>')
224
- }.to raise_error(JSON::ParserError, 'unexpected token at \'{id 1}]\'')
+ }.to raise_error(JSON::ParserError)
225
end
226
227
it 'rescues invalid JSON when expecting non-JSON' do
0 commit comments