Sha256: dfca8ec8b0d8c6dbf6da57e71f359cf65bee95fbca65aa625f6bda9510e52373
Contents?: true
Size: 485 Bytes
Versions: 6
Compression:
Stored size: 485 Bytes
Contents
require 'integration_helper' require 'mws/orders' class OrderItemsTest < IntegrationTest self.api = MWS::Orders def sample_amazon_order_id(client) order = client.list_orders(created_after: Date.today - 365).to_a.sample order.amazon_order_id end def test_list_order_items @clients.each do |client| amazon_order_id = sample_amazon_order_id(client) order_items = client.list_order_items(amazon_order_id) refute_empty order_items end end end
Version data entries
6 entries across 6 versions & 1 rubygems