Sha256: b58ce6cfefbdaa4052d7b630fb1587a463ed5dd3175d07b3a5d1fd5615bf382d
Contents?: true
Size: 728 Bytes
Versions: 3
Compression:
Stored size: 728 Bytes
Contents
# frozen_string_literal: true # #Kinopoisk Unofficial API # The version of the OpenAPI document: 2.0.1 # Contact: support@kinopoiskapiunofficial.tech # Generated by: https://openapi-generator.tech # OpenAPI Generator version: 5.3.1 # require "spec_helper" describe Kuapir::Configuration do let(:config) { Kuapir::Configuration.default } describe "#base_url" do it "should have the default value" do expect(config.base_url).to eq("https://kinopoiskapiunofficial.tech") end it "should remove trailing slashes" do [nil, "", "/", "//"].each do |base_path| config.base_path = base_path expect(config.base_url).to eq("https://kinopoiskapiunofficial.tech") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kuapir-0.1.4 | spec/configuration_spec.rb |
kuapir-0.1.3 | spec/configuration_spec.rb |
kuapir-0.1.2 | spec/configuration_spec.rb |