Remove whitespace.

This commit is contained in:
Amber Feng 2013-11-14 13:52:14 -08:00
parent 30c263bc59
commit 84bda71e62

View File

@ -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 })