diff --git a/spec/unit/fog_service_spec.rb b/spec/unit/fog_service_spec.rb index 9575838..573f31a 100644 --- a/spec/unit/fog_service_spec.rb +++ b/spec/unit/fog_service_spec.rb @@ -20,7 +20,13 @@ Fog::Compute.should_receive(:new).with({:provider => 'Any Cloud Provider'}) instance.connection end + end + context "network" do + it "creates a connection to fog network with the provided auth params." do + Fog::Network.should_receive(:new).with({:provider => 'Any Cloud Provider'}) + instance.network + end end context "add_custom_attributes" do