Sha256: 2d75c04bf17eaa611c4f37c1188bd75a493fa3826e897b31478eb4045ec81d48

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

require_relative 'test_helper'

class PaymentExecutionDetailParserTest < ParserTest
  def setup
    node = fixture('orders').xpath('//xmlns:PaymentExecutionDetail').first
    @ped = Parser::PaymentExecutionDetail.new(node)
  end

  def test_has_payment_execution_detail_items
    refute_empty @ped.to_a
    @ped.each { |pedi| assert_kind_of Parser::PaymentExecutionDetailItem, pedi }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mws-orders-0.0.2 test/parsers/payment_execution_detail_test.rb
mws-orders-0.0.1 test/parsers/payment_execution_detail_test.rb