Sha256: 634e183d2ec3db1ad7f1519779428e8d130d016eba1ce293b942628a24197143
Contents?: true
Size: 424 Bytes
Versions: 32
Compression:
Stored size: 424 Bytes
Contents
Shindo.tests('Fog::Compute[:vsphere] | list_hosts request', ['vsphere']) do compute = Fog::Compute[:vsphere] tests('The response should') do response = compute.list_hosts(:datacenter => 'Solutions', :cluster => 'Solutionscluster') test('be a kind of Array') { response.kind_of? Array } test('contain Hashes') { response.all? { |i| Hash === i } } test("have 1 element") {response.length == 1} end end
Version data entries
32 entries across 32 versions & 1 rubygems