Sha256: 4ee6bb30e70b5c9aac1f48becc6b779f9ff20bf2b88c21041884eee3618b5ef8

Contents?: true

Size: 459 Bytes

Versions: 2

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

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

2 entries across 2 versions & 1 rubygems

Version Path
mws-orders-0.3.1 test/mws/orders/test_payment_execution_detail.rb
mws-orders-0.3.0 test/mws/orders/test_payment_execution_detail.rb