1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/dns/models/zones_tests.rb

19 lines
421 B
Ruby
Raw Normal View History

2010-12-29 20:23:40 -05: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}] | zones", [provider.to_s]) do
2010-12-29 20:23:40 -05:00
zone_attributes = {
:domain => domain_name
}.merge!(config[:zone_attributes] || {})
2010-12-29 20:23:40 -05:00
collection_tests(Fog::DNS[provider].zones, zone_attributes, config[:mocked])
end
end