test/stripe/stripe_client_test.rb in stripe-3.2.0 vs test/stripe/stripe_client_test.rb in stripe-3.3.0
- old
+ new
@@ -238,11 +238,11 @@
code: 'code',
message: 'message',
param: 'param',
type: 'type',
}
- Util.expects(:log_info).with('Stripe API error',
+ Util.expects(:log_error).with('Stripe API error',
status: 500,
error_code: error['code'],
error_message: error['message'],
error_param: error['param'],
error_type: error['type'],
@@ -280,10 +280,10 @@
path: "/oauth/token",
request_id: nil,
status: 400
)
- Util.expects(:log_info).with('Stripe OAuth error',
+ Util.expects(:log_error).with('Stripe OAuth error',
status: 400,
error_code: "invalid_request",
error_description: "No grant type specified",
idempotency_key: nil,
request_id: nil