mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
13 lines
280 B
Ruby
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
|