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

19 lines
394 B
Ruby
Raw Normal View History

2010-09-09 20:50:38 -04:00
Shindo.tests('Slicehost::Compute | backup requests', ['slicehost']) do
2010-06-01 00:39:17 -04:00
@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?
2010-09-09 20:50:38 -04:00
Slicehost[:compute].get_backups.body
2010-06-01 00:39:17 -04:00
end
end
end