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

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