Sha256: 97bdfd3601afd29ebb05a19ef755c924d683fd17b3450cb66f8aa2108ef49a90
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
require_relative 'test_helper' class OrdersTest < IntegrationTest def test_lists_and_gets_orders @clients.each do |client| amazon_order_ids = [] orders = client.list_orders(created_after: Date.today - 365) amazon_order_ids << orders.to_a.sample.amazon_order_id orders = client.list_orders_by_next_token amazon_order_ids << orders.to_a.sample.amazon_order_id orders = client.get_order(*amazon_order_ids) assert orders end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.0.2 | test/integration/orders_test.rb |
mws-orders-0.0.1 | test/integration/orders_test.rb |