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