1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/cloudstack/requests/snapshot_tests.rb
Paul Thornthwaite 330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00

32 lines
743 B
Ruby

Shindo.tests('Fog::Compute[:cloudstack] | snapshot requests', ['cloudstack']) do
@snapshots_format = {
'listsnapshotsresponse' => {
'count' => Integer,
'snapshot' => [
'id' => Integer,
'account' => String,
'domainid' => Integer,
'domain' => String,
'snapshottype' => String,
'volumeid' => Integer,
'volumename' => String,
'volumetype' => String,
'created' => String,
'name' => String,
'intervaltype' => String,
'state' => String
]
}
}
tests('success') do
tests('#list_snapshots').formats(@snapshots_format) do
pending if Fog.mocking?
Fog::Compute[:cloudstack].list_snapshots
end
end
end