Sha256: 9876008253a093e4b81dfb727d007066df8d860cc9a31d0eb6e6e6cb94a04d7e
Contents?: true
Size: 357 Bytes
Versions: 2
Compression:
Stored size: 357 Bytes
Contents
require_relative 'test_helper' class OrderItemsParserTest < ParserTest def setup node = fixture('order_items').xpath('//xmlns:OrderItems') @order_items = Parser::OrderItems.new(node) end def test_has_order_items refute_empty @order_items.to_a @order_items.each { |order_item| assert_kind_of Parser::OrderItem, order_item } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.0.2 | test/parsers/order_items_test.rb |
mws-orders-0.0.1 | test/parsers/order_items_test.rb |