[ovirt] fixed list storage domain test

This commit is contained in:
Amos Benari 2012-04-09 17:05:06 +03:00
parent ebbffe1993
commit 685ee5d61a
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ Shindo.tests('Fog::Compute[:ovirt] | storage_domains request', ['ovirt']) do
response = compute.storage_domains
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 }
test("be a kind of OVIRT::StorageDomain") { response.first.kind_of? OVIRT::StorageDomain }
end
end
end