test/stripe_test.rb in stripe-1.50.1 vs test/stripe_test.rb in stripe-1.51.0
- old
+ new
@@ -41,10 +41,10 @@
email: "test+bindings@stripe.com"
)
Stripe.stripe_account = 'acct_1234'
Stripe.expects(:execute_request).with(
- has_entry(:headers, has_entry(:stripe_account, 'acct_1234')),
+ has_entry(:headers, has_entry('Stripe-Account', 'acct_1234')),
).returns(make_response(response))
Stripe.request(:post, '/v1/account', 'sk_live12334566')
end
end