Sha256: 6bc595307e33a14b83750cf2f1dd214a3c098ddb3ceae37e1a58fe893f05ed65
Contents?: true
Size: 997 Bytes
Versions: 11
Compression:
Stored size: 997 Bytes
Contents
=begin #EVE Swagger Interface #An OpenAPI for EVE Online OpenAPI spec version: 0.4.6.dev11 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' describe ESIClient::Configuration do let(:config) { ESIClient::Configuration.default } before(:each) do # uncomment below to setup host and base_path #require 'URI' #uri = URI.parse("https://esi.tech.ccp.is/") #ESIClient.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://esi.tech.ccp.is/") 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://esi.tech.ccp.is/") end end end end
Version data entries
11 entries across 11 versions & 1 rubygems