Sha256: ed24ac8af6fb1625a96fcc31cb0d0ece4d90a25e8bb719058f72c667d164f9e5

Contents?: true

Size: 1.04 KB

Versions: 35

Compression:

Stored size: 1.04 KB

Contents

=begin
#Pulp 3 API

#Fetch, Upload, Organize, and Distribute Software Packages

The version of the OpenAPI document: v3
Contact: pulp-list@redhat.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1

=end

require 'spec_helper'

describe PulpAnsibleClient::Configuration do
  let(:config) { PulpAnsibleClient::Configuration.default }

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

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
pulp_ansible_client-0.16.2 spec/configuration_spec.rb
pulp_ansible_client-0.15.4 spec/configuration_spec.rb
pulp_ansible_client-0.17.5 spec/configuration_spec.rb
pulp_ansible_client-0.17.4 spec/configuration_spec.rb
pulp_ansible_client-0.19.0 spec/configuration_spec.rb
pulp_ansible_client-0.17.3 spec/configuration_spec.rb
pulp_ansible_client-0.17.2 spec/configuration_spec.rb
pulp_ansible_client-0.18.0 spec/configuration_spec.rb
pulp_ansible_client-0.17.1 spec/configuration_spec.rb
pulp_ansible_client-0.17.0 spec/configuration_spec.rb
pulp_ansible_client-0.15.3 spec/configuration_spec.rb
pulp_ansible_client-0.16.1 spec/configuration_spec.rb
pulp_ansible_client-0.15.2 spec/configuration_spec.rb
pulp_ansible_client-0.13.6 spec/configuration_spec.rb
pulp_ansible_client-0.10.5 spec/configuration_spec.rb
pulp_ansible_client-0.15.1 spec/configuration_spec.rb
pulp_ansible_client-0.16.0 spec/configuration_spec.rb
pulp_ansible_client-0.10.4 spec/configuration_spec.rb
pulp_ansible_client-0.13.5 spec/configuration_spec.rb
pulp_ansible_client-0.15.0 spec/configuration_spec.rb