Sha256: 99dd3b174a116581509374e40919138f5180de441b73a748895c67f740827b27
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class TestOrders < MiniTest::Test def setup node = load_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.4.0 | test/mws/orders/test_orders.rb |