templates/configuration_spec.mustache in dropbox-sign-1.1.1 vs templates/configuration_spec.mustache in dropbox-sign-1.1.2

- old
+ new

@@ -7,21 +7,19 @@ describe {{moduleName}}::Configuration do let(:config) { {{moduleName}}::Configuration.default } before(:each) do # uncomment below to setup host and base_path - # require 'URI' - # uri = URI.parse("{{{basePath}}}") - # {{moduleName}}.configure do |c| - # c.host = uri.host - # c.base_path = uri.path - # end + {{moduleName}}.configure do |c| + c.host = "{{host}}" + c.base_path = "{{contextPath}}" + 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("{{{basePath}}}") + expect(config.base_url).to eq("{{{basePath}}}") end it 'should remove trailing slashes' do [nil, '', '/', '//'].each do |base_path| config.base_path = base_path