Sha256: 82cb082af67987b02bd4a82cc4667519dbf86fb880c942a76b10658076c1cbe1
Contents?: true
Size: 531 Bytes
Versions: 4
Compression:
Stored size: 531 Bytes
Contents
require 'integration_helper' require 'mws/orders' class OrdersTest < IntegrationTest self.api = MWS::Orders 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
4 entries across 4 versions & 1 rubygems