Sha256: 1e41d7bea552a37be18d26bcf9f4dda11ff57c99b4feff8ae7fcdad47ffdd4a8
Contents?: true
Size: 648 Bytes
Versions: 12
Compression:
Stored size: 648 Bytes
Contents
require 'spec_helper' describe 'Hubspot::Discovery::BaseModuleClient' do class Hubspot::Discovery::TestModuleClass def self.api_classes %i[ settings subscriptions ].freeze end def self.api_modules %i[ automation cms ].freeze end include Hubspot::Discovery::BaseModuleClient end subject(:client) { Hubspot::Discovery::TestModuleClass.new(access_token: 'test') } it { is_expected.to respond_to(:automation) } it { is_expected.to respond_to(:cms) } it { is_expected.to respond_to(:settings_api) } it { is_expected.to respond_to(:subscriptions_api) } end
Version data entries
12 entries across 12 versions & 1 rubygems