2010-12-30 01:23:40 +00:00
|
|
|
for provider, config in dns_providers
|
|
|
|
|
2011-01-03 19:23:51 +00:00
|
|
|
Shindo.tests("#{provider}::DNS | zone", [provider.to_s.downcase]) do
|
2010-12-30 01:23:40 +00:00
|
|
|
|
2011-01-03 23:39:38 +00:00
|
|
|
zone_attributes = {
|
2011-02-18 05:22:43 +00:00
|
|
|
:name => 'fogzonetests.com'
|
2011-01-03 21:36:31 +00:00
|
|
|
}.merge!(config[:zone_attributes] || {})
|
2011-01-03 19:23:51 +00:00
|
|
|
|
2011-01-03 23:39:38 +00:00
|
|
|
model_tests(provider[:dns].zones, zone_attributes, config[:mocked])
|
2011-01-03 19:23:51 +00:00
|
|
|
|
|
|
|
end
|
2010-12-30 01:23:40 +00:00
|
|
|
|
|
|
|
end
|