Sha256: ba2e612993639f5aa6b7523b4649149ef0c373d1e82623f164436f3cd0963f9f
Contents?: true
Size: 662 Bytes
Versions: 5
Compression:
Stored size: 662 Bytes
Contents
require 'helper' module Mollie module API module Resource class Payments class RefundsTest < Test::Unit::TestCase def test_resource_object assert_equal Object::Payment::Refund, Refunds.new(nil).resource_object end def test_resource_name_and_with refunds = Refunds.new(nil).with("payment-id") assert_equal "payments/payment-id/refunds", refunds.resource_name refunds = Refunds.new(nil).with(Object::Payment.new(id: "payment-id")) assert_equal "payments/payment-id/refunds", refunds.resource_name end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems