Sha256: 2bef76cc353e847a59c12fab971b5966cc146b7c915e2afd0d0b0012489d3789
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
require 'parser_helper' require 'mws/orders/parsers/order_items' class OrderItemsParserTest < ParserTest def setup node = fixture('orders/order_items').xpath('//xmlns:ListOrderItemsResult') @order_items = MWS::Orders::Parsers::OrderItems.new(node) end def test_has_order_items refute_empty @order_items.to_a @order_items.each { |order_item| assert_kind_of MWS::Orders::Parsers::OrderItem, order_item } end end
Version data entries
4 entries across 4 versions & 1 rubygems