Sha256: 23052f45cd243832dc5a12a15e6675f337183036e1842bc7c3646a934dce119a

Contents?: true

Size: 1.18 KB

Versions: 22

Compression:

Stored size: 1.18 KB

Contents

=begin
#Properties

#All HubSpot objects store data in default and custom properties. These endpoints provide access to read and modify object properties in HubSpot.

The version of the OpenAPI document: v3

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.2.2

=end

require 'spec_helper'

describe Hubspot::Crm::Properties::Configuration do
  let(:config) { Hubspot::Crm::Properties::Configuration.default }

  before(:each) do
    # uncomment below to setup host and base_path
    # require 'URI'
    # uri = URI.parse("https://api.hubapi.com/crm/v3/properties")
    # Hubspot.configure do |c|
    #   c.host = uri.host
    #   c.base_path = uri.path
    # end
  end

  describe '#base_url' do
    it 'should have the default value' do
      # uncomment below to test default value of the base path
      # expect(config.base_url).to eq("https://api.hubapi.com/crm/v3/properties")
    end

    it 'should remove trailing slashes' do
      [nil, '', '/', '//'].each do |base_path|
        config.base_path = base_path
        # uncomment below to test trailing slashes
        # expect(config.base_url).to eq("https://api.hubapi.com/crm/v3/properties")
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
hubspot-api-client-9.2.0 spec/properties/configuration_spec.rb
hubspot-api-client-9.0.0 spec/properties/configuration_spec.rb
hubspot-api-client-8.0.1 spec/properties/configuration_spec.rb
hubspot-api-client-8.0.0 spec/properties/configuration_spec.rb
hubspot-api-client-7.3.0 spec/properties/configuration_spec.rb
hubspot-api-client-7.2.0 spec/properties/configuration_spec.rb
hubspot-api-client-7.1.1 spec/properties/configuration_spec.rb
hubspot-api-client-7.1.0 spec/properties/configuration_spec.rb
hubspot-api-client-7.0.0 spec/properties/configuration_spec.rb
hubspot-api-client-6.0.0 spec/properties/configuration_spec.rb
hubspot-api-client-5.0.0 spec/properties/configuration_spec.rb
hubspot-api-client-4.0.0 spec/properties/configuration_spec.rb
hubspot-api-client-3.3.0 spec/properties/configuration_spec.rb
hubspot-api-client-3.2.0 spec/properties/configuration_spec.rb
hubspot-api-client-3.1.1 spec/properties/configuration_spec.rb
hubspot-api-client-3.1.0.pre.beta spec/properties/configuration_spec.rb
hubspot-api-client-3.0.0.pre.beta spec/properties/configuration_spec.rb
hubspot-api-client-2.3.2 spec/properties/configuration_spec.rb
hubspot-api-client-2.3.1 spec/properties/configuration_spec.rb
hubspot-api-client-2.2.0 spec/properties/configuration_spec.rb