Skip to content

Commit 109fc42

Browse files
committed
update test
1 parent 1b4022d commit 109fc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/client/api_client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
response = double('response', headers: headers, body: '{id 1}')
222222
expect {
223223
api_client_default.deserialize(response, 'Hash<String, Integer>')
224-
}.to raise_error(JSON::ParserError, 'unexpected token at \'{id 1}]\'')
224+
}.to raise_error(JSON::ParserError)
225225
end
226226

227227
it 'rescues invalid JSON when expecting non-JSON' do

0 commit comments

Comments
 (0)