2010-12-29 17:23:40 -08:00
|
|
|
for provider, config in dns_providers
|
|
|
|
|
2011-06-21 14:50:01 -07:00
|
|
|
# FIXME: delay/timing breaks things :(
|
|
|
|
next if [:dnsmadeeasy].include?(provider)
|
|
|
|
|
2011-07-14 19:22:43 -05:00
|
|
|
Shindo.tests("Fog::DNS[:#{provider}] | zones", [provider.to_s]) do
|
2010-12-29 17:23:40 -08:00
|
|
|
|
2011-01-03 15:39:38 -08:00
|
|
|
zone_attributes = {
|
2011-02-25 15:10:12 -08:00
|
|
|
:domain => 'fogzonestests.com'
|
2011-01-03 15:39:38 -08:00
|
|
|
}.merge!(config[:zone_attributes] || {})
|
2010-12-29 17:23:40 -08:00
|
|
|
|
2011-06-15 17:25:01 -07:00
|
|
|
collection_tests(Fog::DNS[provider].zones, zone_attributes, config[:mocked])
|
2011-01-03 11:23:51 -08:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|