test/stripe/order_test.rb in stripe-1.28.1 vs test/stripe/order_test.rb in stripe-1.29.0
- old
+ new
@@ -2,10 +2,10 @@
module Stripe
class OrderTest < Test::Unit::TestCase
should "orders should be listable" do
@mock.expects(:get).once.returns(make_response(make_order_array))
- orders = Stripe::Order.all
+ orders = Stripe::Order.list
assert orders.data.kind_of?(Array)
orders.each do |order|
assert order.kind_of?(Stripe::Order)
end
end