Sha256: ba724fec31245b8e59f2d11b4cb678555d0ffa8c04a8e2d73e76812f9b42eb1e

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

require "test_helper"

class TestPaymentExecutionDetailItem < MiniTest::Test
  def setup
    node = load_xml_fixture("orders").xpath("//xmlns:PaymentExecutionDetailItem").first
    @pedi = PaymentExecutionDetailItem.new(node)
  end

  def test_payment
    assert_kind_of Money, @pedi.payment
  end

  def test_payment_method
    assert_kind_of String, @pedi.payment_method
  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_item.rb
mws-orders-0.2.0 test/mws/orders/test_payment_execution_detail_item.rb
mws-orders-0.1.1 test/mws/orders/test_payment_execution_detail_item.rb
mws-orders-0.1.0 test/mws/orders/test_payment_execution_detail_item.rb