test/stripe/customer_card_test.rb in stripe-1.28.1 vs test/stripe/customer_card_test.rb in stripe-1.29.0
- old
+ new
@@ -10,10 +10,10 @@
end
should "customer cards should be listable" do
c = customer
@mock.expects(:get).once.returns(make_response(make_customer_card_array(customer.id)))
- cards = c.sources.all(:object => "card").data
+ cards = c.sources.list(:object => "card").data
assert cards.kind_of? Array
assert cards[0].kind_of? Stripe::Card
end
should "customer cards should have the correct url" do