mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Remove whitespace.
This commit is contained in:
parent
30c263bc59
commit
84bda71e62
@ -188,8 +188,8 @@ module Stripe
|
||||
Stripe::Charge.all(:count => nil, :offset => 5, :sad => false)
|
||||
|
||||
@mock.expects(:post).with do |url, api_key, params|
|
||||
url == "#{Stripe.api_base}/v1/charges" &&
|
||||
api_key.nil? &&
|
||||
url == "#{Stripe.api_base}/v1/charges" &&
|
||||
api_key.nil? &&
|
||||
CGI.parse(params) == { 'amount' => ['50'], 'currency' => ['usd'] }
|
||||
end.returns(test_response({ :count => 1, :data => [test_charge] }))
|
||||
Stripe::Charge.create(:amount => 50, :currency => 'usd', :card => { :number => nil })
|
||||
|
Loading…
x
Reference in New Issue
Block a user