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/get_backups_tests.rb
2010-03-28 17:04:38 -07:00

14 lines
348 B
Ruby

Shindo.tests('Slicehost#get_backups', 'slicehost') do
tests('success') do
before do
@data = Slicehost[:slices].get_backups.body
end
# TODO: ensure this still works with a non-empty list
test('has proper output format') do
validate_data_format(@data, { 'backups' => [Slicehost::Formats::BACKUP] })
end
end
end