fog--fog/tests/dns/models/zone_tests.rb

19 lines
415 B
Ruby
Raw Normal View History

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