Sha256: 48de07d6ba41c7d153ffb53823da2b7424de293664f17d7d490d39771ec3a217

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class TestPaymentExecutionDetail < MiniTest::Test
  def setup
    node =
      load_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

1 entries across 1 versions & 1 rubygems

Version Path
mws-orders-0.4.0 test/mws/orders/test_payment_execution_detail.rb