We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c31a43 commit 62b2f3dCopy full SHA for 62b2f3d
1 file changed
spec/carrier_account_spec.rb
@@ -33,9 +33,11 @@
33
client.carrier_account.create({ type: 'FedexAccount', registration_data: {} })
34
}.to raise_error(EasyPost::Errors::ApiError) { |error|
35
expect(error.status_code).to eq(422)
36
- expect(error.errors.any? do |err|
37
- err['field'] == 'account_number' && err['message'] == 'must be present and a string'
38
- end).to be true
+ expect(
+ error.errors.any? do |err|
+ err['field'] == 'account_number' && err['message'] == 'must be present and a string'
39
+ end,
40
+ ).to be true
41
}
42
end
43
0 commit comments