Sha256: bd01fc6195180efd88664f5068dd652c2428b8eb3f0455fb826e4ffb6eac3091
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
require_relative 'test_helper' class PaymentExecutionDetailItemParserTest < ParserTest def setup node = fixture('orders').xpath('//xmlns:PaymentExecutionDetailItem').first @pedi = Parser::PaymentExecutionDetailItem.new(node) end def test_payment assert_kind_of Money, @pedi.payment end def test_payment_method assert_kind_of String, @pedi.payment_method end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.0.2 | test/parsers/payment_execution_detail_item_test.rb |
mws-orders-0.0.1 | test/parsers/payment_execution_detail_item_test.rb |