tests/vcloud/models/compute/servers_tests.rb in fog-1.22.0 vs tests/vcloud/models/compute/servers_tests.rb in fog-1.22.1
- old
+ new
@@ -11,10 +11,10 @@
:vcloud_username => 'username',
:vcloud_password => 'password',
:vcloud_version => version),
:href => "https://vcloud.example.com/api#{(version == '1.0') ? '/v1.0' : ''}/vApp/vapp-1"
)
-
+
tests("collection") do
returns(2) { instance.size }
returns("https://vcloud.example.com/api#{(version == '1.0') ? '/v1.0' : ''}/vApp/vm-2") { instance.first.href }
end
end