Sha256: 134bf420cc01a321b1043ab6d9309feb5f31a598ba6e459381c13896e43df7d0

Contents?: true

Size: 1.47 KB

Versions: 22

Compression:

Stored size: 1.47 KB

Contents

=begin
#CRM Pipelines

#Pipelines represent distinct stages in a workflow, like closing a deal or servicing a support ticket. These endpoints provide access to read and modify pipelines in HubSpot. Pipelines support `deals` and `tickets` object types.  ## Pipeline ID validation  When calling endpoints that take pipelineId as a parameter, that ID must correspond to an existing, un-archived pipeline. Otherwise the request will fail with a `404 Not Found` response.

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::Pipelines::Configuration do
  let(:config) { Hubspot::Crm::Pipelines::Configuration.default }

  before(:each) do
    # uncomment below to setup host and base_path
    # require 'URI'
    # uri = URI.parse("https://api.hubapi.com/crm/v3/pipelines")
    # 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/pipelines")
    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/pipelines")
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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