Sha256: 72ecba5cdd36518f8c4225121e0bb5d96025373835ef8afc15227498d1dcd0ac

Contents?: true

Size: 383 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

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