mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-27 00:03:06 -05:00
Fix test
This commit is contained in:
parent
9a82f7d1ba
commit
cedc3bbad5
@ -25,7 +25,7 @@ module Stripe
|
||||
|
||||
should "pay with extra opts should pay an invoice" do
|
||||
@mock.expects(:get).once.returns(test_response(test_invoice))
|
||||
i = Stripe::Invoice.retrieve('in_test_invoice', {api_key: 'foobar'})
|
||||
i = Stripe::Invoice.retrieve('in_test_invoice', {:api_key => 'foobar'})
|
||||
|
||||
Stripe.expects(:execute_request).with do |opts|
|
||||
opts[:url] == "#{Stripe.api_base}/v1/invoices/in_test_invoice/pay" &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user