Sha256: ea56d64194459c896b379af7b5a9cc71e81b43624c8380ff1037653786d39d67
Contents?: true
Size: 436 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.2.2 | test/mws/orders/test_order_items.rb |