Sha256: 31adefff0082555543a3fed603149353584081e1dbee700ed36231740c8abcdf
Contents?: true
Size: 506 Bytes
Versions: 32
Compression:
Stored size: 506 Bytes
Contents
Shindo.tests('Fog::Compute[:vsphere] | hosts collection', ['vsphere']) do compute = Fog::Compute[:vsphere] cluster = compute.datacenters.first.clusters.get('Solutionscluster') hosts = cluster.hosts tests('The hosts collection') do test('should not be empty') { not hosts.empty? } test('should be a kind of Fog::Compute::Vsphere::Hosts') { hosts.kind_of? Fog::Compute::Vsphere::Hosts } test('should get hosts') { hosts.get('host1.example.com').name == 'host1.example.com' } end end
Version data entries
32 entries across 32 versions & 1 rubygems