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