Sha256: c4d218c877f7be1f548ac5f888afa7a023157a2f65004f0b6c2299f18924b580
Contents?: true
Size: 666 Bytes
Versions: 2
Compression:
Stored size: 666 Bytes
Contents
require 'helper' module Mollie module API module Resource class Profiles class ApiKeysTest < Test::Unit::TestCase def test_resource_object assert_equal Object::Profile::ApiKey, ApiKeys.new(nil).resource_object end def test_resource_name_and_with api_keys = ApiKeys.new(nil).with("profile-id") assert_equal "profiles/profile-id/apikeys", api_keys.resource_name api_keys = ApiKeys.new(nil).with(Object::Profile.new(id: "profile-id")) assert_equal "profiles/profile-id/apikeys", api_keys.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/profiles/apikeys_test.rb |
mollie-api-ruby-2.2.0 | test/mollie/api/resource/profiles/apikeys_test.rb |