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