Sha256: 3c91e53788ef625c344f33c2dca4cae856c2a6e542d11c7c257ad0114391cbe4
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
=begin #Pluxbox Radiomanager Client #Pluxbox RadioManager gives you the power, flexibility and speed you always wanted in a lightweight and easy-to-use web-based radio solution. With Pluxbox RadioManager you can organise your radio workflow and automate your omnichannel communication with your listeners. We offer wide range specialised services for the radio and connections like Hybrid Radio, Visual Radio, your website and social media without losing focus on your broadcast. For more information visit https://pluxbox.com OpenAPI spec version: 2.0 Contact: support@pluxbox.com Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3-SNAPSHOT =end require 'spec_helper' describe RadioManagerClient::Configuration do let(:config) { RadioManagerClient::Configuration.default } before(:each) do # uncomment below to setup host and base_path #require 'URI' #uri = URI.parse("https://staging.radiomanager.pluxbox.com/api/v2") #RadioManagerClient.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://staging.radiomanager.pluxbox.com/api/v2") 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://staging.radiomanager.pluxbox.com/api/v2") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
radiomanager_client-1.0.87 | spec/configuration_spec.rb |
radiomanager_client-1.0.83 | spec/configuration_spec.rb |
radiomanager_client-1.0.8 | spec/configuration_spec.rb |