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_slices_tests.rb
geemus (Wesley Beary) 5d1b2333d4 tweaks for tests
2010-04-04 22:11:28 -07:00

13 lines
281 B
Ruby

Shindo.tests('Slicehost#get_slices', 'slicehost') do
tests('success') do
before do
@data = Slicehost[:slices].get_slices.body
end
test('has proper output format') do
validate_format(@data, { 'slices' => [Slicehost::Formats::SLICE] })
end
end
end