mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
11 lines
No EOL
366 B
Ruby
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 |