spec/configuration_spec.rb in allq_rest-1.2.2 vs spec/configuration_spec.rb in allq_rest-1.2.3
- old
+ new
@@ -16,14 +16,14 @@
let(:config) { Allq::Configuration.default }
before(:each) do
# uncomment below to setup host and base_path
#require 'URI'
- #uri = URI.parse("http://localhost:8090")
- #Allq.configure do |c|
- # c.host = uri.host
- # c.base_path = uri.path
- #end
+ uri = URI.parse("http://localhost:8091")
+ Allq.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