test/test_helper.rb in stripe-1.7.4 vs test/test_helper.rb in stripe-1.7.6
- old
+ new
@@ -54,11 +54,15 @@
:created => 1304114758
}.merge(params)
end
def test_customer_array
- {:data => [test_customer, test_customer, test_customer]}
+ {
+ :data => [test_customer, test_customer, test_customer],
+ :object => 'list',
+ :url => '/v1/customers'
+ }
end
def test_charge(params={})
{
:refunded => false,
@@ -81,10 +85,14 @@
:created => 1304114826
}.merge(params)
end
def test_charge_array
- {:data => [test_charge, test_charge, test_charge]}
+ {
+ :data => [test_charge, test_charge, test_charge],
+ :object => 'list',
+ :url => '/v1/charges'
+ }
end
def test_card(params={})
{
:type => "Visa",