lib/fog/vsphere/requests/compute/get_datacenter.rb in fog-maestrodev-1.8.0.20130114204828 vs lib/fog/vsphere/requests/compute/get_datacenter.rb in fog-maestrodev-1.14.0.20130806165225

- old
+ new

@@ -19,10 +19,12 @@ end end class Mock def get_datacenter name - {:name => "Solutions", :status => "grey"} + dc = self.data[:datacenters][name] + raise(Fog::Compute::Vsphere::NotFound) unless dc + dc end end end end end