Sha256: 655e45021cddd847d11d7004707292249c069e8e9b2f2e2aa2bc8adc05a5c59f
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
require_relative 'test_helper' class OrdersParserTest < ParserTest def setup node = fixture('orders').xpath('//xmlns:Orders') @orders = Parser::Orders.new(node) end def test_has_orders refute_empty @orders.to_a @orders.each { |order| assert_kind_of Parser::Order, order } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.0.2 | test/parsers/orders_test.rb |
mws-orders-0.0.1 | test/parsers/orders_test.rb |