gi_cat_driver 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/gi_cat_driver/version.rb +1 -1
- data/spec/gi_cat_driver_spec.rb +10 -0
- metadata +1 -1
data/spec/gi_cat_driver_spec.rb
CHANGED
|
@@ -360,6 +360,16 @@ describe GiCatDriver do
|
|
|
360
360
|
}, :body => accessor_configuration)
|
|
361
361
|
.to_return(:status => 200, :body => "Salvato", :headers => {})
|
|
362
362
|
|
|
363
|
+
enable_conf_url = "http://admin:pass@www.somecompany.com/services/conf/brokerConfigurations/1"
|
|
364
|
+
stub_request(:get,enable_conf_url)
|
|
365
|
+
.with(:headers => {
|
|
366
|
+
'Accept'=>'application/xml',
|
|
367
|
+
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
|
|
368
|
+
'User-Agent'=>'Ruby',
|
|
369
|
+
'Content-Type'=>'*/*'
|
|
370
|
+
}, :query => {:opts => "active"})
|
|
371
|
+
.to_return(:status => 200, :body => "", :headers => {})
|
|
372
|
+
|
|
363
373
|
@gi_cat.create_accessor(profile_name, accessor_configuration)
|
|
364
374
|
end
|
|
365
375
|
end
|