Sha256: faeee1e73d97ed28a5f63bed8aa9be7ba49ca252ab2e7e7a258e3fa4116d48a2
Contents?: true
Size: 1.11 KB
Versions: 37
Compression:
Stored size: 1.11 KB
Contents
=begin #DevCycle Bucketing API #Documents the DevCycle Bucketing API which provides and API interface to User Bucketing and for generated SDKs. The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.3.0 =end require 'spec_helper' describe DevCycle::Configuration do let(:config) { DevCycle::Configuration.default } before(:each) do # uncomment below to setup host and base_path # require 'URI' # uri = URI.parse("https://bucketing-api.devcycle.com") # DevCycle.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://bucketing-api.devcycle.com") 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://bucketing-api.devcycle.com") end end end end
Version data entries
37 entries across 33 versions & 3 rubygems