test/integration/test_orders.rb in peddler-2.0.0 vs test/integration/test_orders.rb in peddler-2.0.3
- old
+ new
@@ -12,11 +12,11 @@
.dig('Orders', 'Order')
.map { |order| order['AmazonOrderId'] }
next if order_ids.count < 2
- orders = client.get_order(*order_ids)
- .dig('Orders', 'Order')
+ res = client.get_order(*order_ids)
+ orders = res.dig('Orders', 'Order')
assert_equal order_ids.count, orders.count
end
end