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

14 lines
420 B
Ruby
Raw Normal View History

2011-01-03 16:34:08 -05:00
for provider, config in compute_providers
2012-11-27 19:57:16 -05:00
next if [:glesys, :voxel, :ibm, :ecloud].include?(provider)
2011-02-23 18:00:56 -05:00
Shindo.tests("Fog::Compute[:#{provider}] | flavors", [provider.to_s]) do
2011-01-03 16:34:08 -05:00
provider_attributes = config[:provider_attributes] || {}
provider_attributes.merge!(:provider => provider)
flavors_tests(Fog::Compute.new(provider_attributes), (config[:flavors_attributes] || {}), config[:mocked])
2011-01-03 16:34:08 -05:00
end
end