2010-12-30 01:23:40 +00:00
|
|
|
for provider, config in dns_providers
|
|
|
|
|
2011-06-21 21:50:01 +00:00
|
|
|
# FIXME: delay/timing breaks things :(
|
|
|
|
next if [:dnsmadeeasy].include?(provider)
|
|
|
|
|
2011-06-16 00:25:01 +00:00
|
|
|
Shindo.tests("Fog::DNS[:#{provider}] | zone", [provider]) do
|
2010-12-30 01:23:40 +00:00
|
|
|
|
2011-01-03 23:39:38 +00:00
|
|
|
zone_attributes = {
|
2011-02-25 23:10:12 +00:00
|
|
|
:domain => 'fogzonetests.com'
|
2011-01-03 21:36:31 +00:00
|
|
|
}.merge!(config[:zone_attributes] || {})
|
2011-01-03 19:23:51 +00:00
|
|
|
|
2011-06-16 00:25:01 +00:00
|
|
|
model_tests(Fog::DNS[provider].zones, zone_attributes, config[:mocked])
|
2011-01-03 19:23:51 +00:00
|
|
|
|
|
|
|
end
|
2010-12-30 01:23:40 +00:00
|
|
|
|
|
|
|
end
|