Sha256: 662c171c52d8c9210bd4483a192041cd824fc5ee223c7cae649469acaba2b0ea
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
require "test_helper" class TestOrderItems < MiniTest::Test def setup node = load_xml_fixture("order_items").xpath("//xmlns:ListOrderItemsResult") @order_items = OrderItems.new(node) end def test_has_order_items refute_empty @order_items.to_a @order_items.each do |order_item| assert_kind_of OrderItem, order_item end end def test_has_next_token refute_empty @order_items.next_token end end
Version data entries
4 entries across 4 versions & 1 rubygems