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/servers_tests.rb
Paulo Henrique Lopes Ribeiro 7d047e769c Moved Ecloud to a modular gem
2014-11-24 00:06:03 -02:00

10 lines
355 B
Ruby

for provider, config in compute_providers
Shindo.tests("Fog::Compute[:#{provider}] | servers", [provider.to_s]) do
provider_attributes = config[:provider_attributes] || {}
provider_attributes.merge!(:provider => provider)
servers_tests(Fog::Compute.new(provider_attributes), (config[:server_attributes] || {}), config[:mocked])
end
end