Sha256: 7f71f9649baf458e707e0e69c012acca89426d46d667ae4c1dadc18a1770cc65

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class TestPaymentExecutionDetailItem < MiniTest::Test
  def setup
    node =
      load_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.4.0 test/mws/orders/test_payment_execution_detail_item.rb