1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/vsphere/requests/compute/list_clusters_tests.rb
2014-11-13 18:12:00 +02:00

11 lines
No EOL
366 B
Ruby

Shindo.tests('Fog::Compute[:vsphere] | list_clusters request', ['vsphere']) do
tests("When listing all clusters") do
response = Fog::Compute[:vsphere].list_clusters
test("Clusters extracted from folders... ") {response.length == 4}
tests("The response data format ...") do
test("be a kind of Hash") { response.kind_of? Array }
end
end
end