Sha256: 5ee44029b6c1885869fbc663f948c1b2f82d7b618c4984c3a335bb1ababd9390
Contents?: true
Size: 682 Bytes
Versions: 2
Compression:
Stored size: 682 Bytes
Contents
require 'helper' module Mollie module API module Resource class Customers class MandatesTest < Test::Unit::TestCase def test_resource_object assert_equal Object::Customer::Mandate, Mandates.new(nil).resource_object end def test_resource_name_and_with mandates = Mandates.new(nil).with("customer-id") assert_equal "customers/customer-id/mandates", mandates.resource_name mandates = Mandates.new(nil).with(Object::Customer.new(id: "customer-id")) assert_equal "customers/customer-id/mandates", mandates.resource_name end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mollie-api-ruby-2.2.1 | test/mollie/api/resource/customers/mandates_test.rb |
mollie-api-ruby-2.2.0 | test/mollie/api/resource/customers/mandates_test.rb |