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_flavors_tests.rb

13 lines
280 B
Ruby

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