Sha256: 028c0ebfe0268587521c03e7e1e4de55c4ab5f1edcc3efe7454d845ab383a598
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
=begin #KORONA.entry API v1 #Our api provides access to our entry services The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 =end require 'spec_helper' describe KoronaEntryClient::Configuration do let(:config) { KoronaEntryClient::Configuration.default } before(:each) do # uncomment below to setup host and base_path # require 'URI' # uri = URI.parse("https://YourLocalInstance.com/korona.entry_server/services/v1") # KoronaEntryClient.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://YourLocalInstance.com/korona.entry_server/services/v1") 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://YourLocalInstance.com/korona.entry_server/services/v1") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
korona-entry-client-1.0.2 | spec/configuration_spec.rb |
korona-entry-client-1.0.1 | spec/configuration_spec.rb |
korona-entry-client-1.0.0 | spec/configuration_spec.rb |