Sha256: 3bbbd981708b822a34518e66fb3c92e57640ad38785fcd25fd825d9736dac074
Contents?: true
Size: 1014 Bytes
Versions: 20
Compression:
Stored size: 1014 Bytes
Contents
=begin #Composio OpenAPI #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase The version of the OpenAPI document: 1.0.0 =end require 'spec_helper' describe Composio::Configuration do let(:config) { Composio::Configuration.default } before(:each) do # uncomment below to setup host and base_path # require 'URI' # uri = URI.parse("https://backend.composio.dev") # Composio.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://backend.composio.dev") 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://backend.composio.dev") end end end end
Version data entries
20 entries across 20 versions & 1 rubygems