Sha256: a74c61aacb2dfe3b5f9a33efb429490128666908124a6005808cfb0e63af5499
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
=begin #Mux API #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.0.1 =end require 'spec_helper' describe MuxRuby::Configuration do let(:config) { MuxRuby::Configuration.default } before(:each) do # uncomment below to setup host and base_path # require 'URI' # uri = URI.parse("https://api.mux.com") # MuxRuby.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://api.mux.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://api.mux.com") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mux_ruby-2.0.0.pre.rc.1 | spec/configuration_spec.rb |