Sha256: a5b2fbfdd05f4c568a91f8d283340f667cf2e1d959f1b9295259d4ef2c1b373b

Contents?: true

Size: 389 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

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