Sha256: 0b6713a3f6409dee78ce3ee93641d88c53072d1371108b4df2a128bbe0dd9444

Contents?: true

Size: 1.05 KB

Versions: 252

Compression:

Stored size: 1.05 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.2.3

=end

require 'spec_helper'

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

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

Version data entries

252 entries across 252 versions & 1 rubygems

Version Path
pulp_2to3_migration_client-0.11.2 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623642407 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623556137 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623469378 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623383457 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623297700 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623212009 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623127142 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1623041616 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1622954635 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1622868174 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1622782863 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1621829678 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1621742907 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1621656001 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1621569269 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1620705253 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1620618998 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1620532016 spec/configuration_spec.rb
pulp_2to3_migration_client-0.12.0.dev1620445987 spec/configuration_spec.rb