Sha256: bcb1bf56c3619ef13af68d913eaf4631ee3607ea6a6257368d232b2e40a313b3

Contents?: true

Size: 389 Bytes

Versions: 4

Compression:

Stored size: 389 Bytes

Contents

require "test_helper"

class TestPaymentExecutionDetail < MiniTest::Test
  def setup
    node = load_xml_fixture("orders").xpath("//xmlns:PaymentExecutionDetail").first
    @ped = PaymentExecutionDetail.new(node)
  end

  def test_has_payment_execution_detail_items
    refute_empty @ped.to_a
    @ped.each do |pedi|
      assert_kind_of PaymentExecutionDetailItem, pedi
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mws-orders-0.2.1 test/mws/orders/test_payment_execution_detail.rb
mws-orders-0.2.0 test/mws/orders/test_payment_execution_detail.rb
mws-orders-0.1.1 test/mws/orders/test_payment_execution_detail.rb
mws-orders-0.1.0 test/mws/orders/test_payment_execution_detail.rb