test/integration/test_orders.rb in peddler-1.5.0 vs test/integration/test_orders.rb in peddler-1.6.0
- old
+ new
@@ -7,18 +7,16 @@
order_ids = client
.list_orders(
created_after: Date.new(2015),
max_results_per_page: 5
)
- .parse
.dig('Orders', 'Order')
.map { |order| order['AmazonOrderId'] }
next if order_ids.count < 2
orders = client
.get_order(*order_ids)
- .parse
.dig('Orders', 'Order')
assert_equal order_ids.count, orders.count
end
end