spec/unit_tests/VsphereUrl_spec.rb in chef-provisioning-vsphere-0.4.2 vs spec/unit_tests/VsphereUrl_spec.rb in chef-provisioning-vsphere-0.5.0

- old
+ new

@@ -25,10 +25,16 @@ it "has the the default insecure setting" do expect(url.insecure).to eq(false) end context "when setting from a hash" do - let(:url) {URI::VsphereUrl.from_config({:host => '2.2.2.2', :port => 2345, :path => "/hoooo", :use_ssl => false, :insecure => true})} + let(:url) { URI::VsphereUrl.from_config({ + :host => '2.2.2.2', + :port => 2345, + :path => "/hoooo", + :use_ssl => false, + :insecure => true + }) } it "asigns the correct url" do expect(url.to_s).to eq('vsphere://2.2.2.2:2345/hoooo?use_ssl=false&insecure=true') end end \ No newline at end of file