mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
330a351ade
Done with `rubocop --auto-correct --only TrailingBlankLines`
29 lines
733 B
Ruby
29 lines
733 B
Ruby
Shindo.tests('Fog::Compute[:cloudstack] | disk offering requests', ['cloudstack']) do
|
|
|
|
@disk_offerings_format = {
|
|
'listdiskofferingsresponse' => {
|
|
'count' => Integer,
|
|
'diskoffering' => [
|
|
'id' => String,
|
|
'created' => String,
|
|
'disksize' => Integer,
|
|
'displaytext' => String,
|
|
'domain' => Fog::Nullable::String,
|
|
'domainid' => Fog::Nullable::String,
|
|
'iscustomized' => Fog::Boolean,
|
|
'name' => String,
|
|
'storagetype' => String,
|
|
'tags' => Fog::Nullable::String
|
|
]
|
|
}
|
|
}
|
|
|
|
tests('success') do
|
|
|
|
tests('#list_disk_offerings').formats(@disk_offerings_format) do
|
|
Fog::Compute[:cloudstack].list_disk_offerings
|
|
end
|
|
|
|
end
|
|
|
|
end
|