1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/compute/requests/slicehost/backup_tests.rb
2011-01-03 13:34:08 -08:00

18 lines
394 B
Ruby

Shindo.tests('Slicehost::Compute | 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?
Slicehost[:compute].get_backups.body
end
end
end