mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Lists disks isn't a valid test since response varies greatly by disk.
This commit is contained in:
parent
5ccc49388e
commit
c15f0aea62
1 changed files with 0 additions and 22 deletions
|
@ -46,24 +46,6 @@ Shindo.tests('Fog::Compute[:google] | disk requests', ['google']) do
|
||||||
'operationType' => String
|
'operationType' => String
|
||||||
}
|
}
|
||||||
|
|
||||||
@list_disks_format = {
|
|
||||||
'kind' => String,
|
|
||||||
'id' => String,
|
|
||||||
'selfLink' => String,
|
|
||||||
'items' => [{
|
|
||||||
'kind'=> String,
|
|
||||||
'id'=> String,
|
|
||||||
'creationTimestamp'=>String,
|
|
||||||
'selfLink'=>String,
|
|
||||||
'name'=> String,
|
|
||||||
'sizeGb'=> String,
|
|
||||||
'zone'=> String,
|
|
||||||
'sourceImageId' => String,
|
|
||||||
'sourceImage' => String,
|
|
||||||
'status'=>String,
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
|
|
||||||
tests('success') do
|
tests('success') do
|
||||||
|
|
||||||
disk_name = 'new-disk-test'
|
disk_name = 'new-disk-test'
|
||||||
|
@ -80,10 +62,6 @@ Shindo.tests('Fog::Compute[:google] | disk requests', ['google']) do
|
||||||
@google.get_disk(disk_name, zone_name).body
|
@google.get_disk(disk_name, zone_name).body
|
||||||
end
|
end
|
||||||
|
|
||||||
tests("#list_disks").formats(@list_disks_format) do
|
|
||||||
@google.list_disks(zone_name).body
|
|
||||||
end
|
|
||||||
|
|
||||||
tests("#delete_disk").formats(@delete_disk_format) do
|
tests("#delete_disk").formats(@delete_disk_format) do
|
||||||
@google.delete_disk(disk_name, zone_name).body
|
@google.delete_disk(disk_name, zone_name).body
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue