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

Version Path
hubspot-api-client-14.5.2 spec/discovery/base_module_client_spec.rb
hubspot-api-client-14.5.1 spec/discovery/base_module_client_spec.rb
hubspot-api-client-14.5.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-14.4.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-14.3.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-14.2.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-14.1.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-14.0.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-13.2.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-13.1.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-13.0.0 spec/discovery/base_module_client_spec.rb
hubspot-api-client-12.0.0 spec/discovery/base_module_client_spec.rb