Shindo.tests('Fog::Compute[:ovirt] | datacenters request', ['ovirt']) do compute = Fog::Compute[:ovirt] tests("When listing all datacenters") do response = compute.datacenters tests("The response data format ...") do test("it should be a kind of Array") { response.kind_of? Array } test("be a kind of Hash") { response.first.kind_of? Hash } end end end