mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
29 lines
No EOL
731 B
Ruby
29 lines
No EOL
731 B
Ruby
Shindo.tests('Fog::Compute[:cloudstack] | disk offering requests', ['cloudstack']) do
|
|
|
|
@disk_offerings_format = {
|
|
'listdiskofferingsresponse' => {
|
|
'count' => Integer,
|
|
'diskoffering' => [
|
|
'id' => Integer,
|
|
'created' => String,
|
|
'disksize' => Integer,
|
|
'displaytext' => String,
|
|
'domain' => Fog::Nullable::String,
|
|
'domainid' => Fog::Nullable::Integer,
|
|
'iscustomized' => Fog::Boolean,
|
|
'name' => String,
|
|
'tags' => Fog::Nullable::String
|
|
]
|
|
}
|
|
}
|
|
|
|
tests('success') do
|
|
|
|
tests('#list_disk_offerings').formats(@disk_offerings_format) do
|
|
pending if Fog.mocking?
|
|
Fog::Compute[:cloudstack].list_disk_offerings
|
|
end
|
|
|
|
end
|
|
|
|
end |