mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
405 B
Ruby
18 lines
405 B
Ruby
Shindo.tests('Fog::Compute[:slicehost] | backup requests', ['slicehost']) do
|
|
|
|
@backup_format = {
|
|
'date' => String,
|
|
'id' => Integer,
|
|
'name' => String,
|
|
'slice-id' => Integer
|
|
}
|
|
|
|
tests('success') do
|
|
|
|
tests('#get_backups').formats({ 'backups' => [@backup_format] }) do
|
|
pending if Fog.mocking?
|
|
Fog::Compute[:slicehost].get_backups.body
|
|
end
|
|
|
|
end
|
|
end
|