1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/compute/models/flavors_tests.rb
2013-01-04 13:50:05 -05:00

13 lines
420 B
Ruby

for provider, config in compute_providers
next if [:glesys, :voxel, :ibm, :ecloud].include?(provider)
Shindo.tests("Fog::Compute[:#{provider}] | flavors", [provider.to_s]) do
provider_attributes = config[:provider_attributes] || {}
provider_attributes.merge!(:provider => provider)
flavors_tests(Fog::Compute.new(provider_attributes), (config[:flavors_attributes] || {}), config[:mocked])
end
end