Sha256: 213f3169fa2147a25b35c58b3299af97bbc254ad3b6672d95c0eac87345ffddf
Contents?: true
Size: 380 Bytes
Versions: 4
Compression:
Stored size: 380 Bytes
Contents
require "test_helper" class TestOrders < MiniTest::Test def setup node = load_xml_fixture("orders").xpath("//xmlns:ListOrdersResult") @orders = Orders.new(node) end def test_has_orders refute_empty @orders.to_a @orders.each do |order| assert_kind_of Order, order end end def test_has_next_token refute_empty @orders.next_token end end
Version data entries
4 entries across 4 versions & 1 rubygems