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

13 lines
307 B
Ruby
Raw Normal View History

2010-12-29 20:23:40 -05:00
for provider, config in dns_providers
Shindo.tests("#{provider}::DNS | zones", [provider.to_s.downcase]) do
2010-12-29 20:23:40 -05:00
zone_attributes = {
:domain => 'fogzonestests.com'
}.merge!(config[:zone_attributes] || {})
2010-12-29 20:23:40 -05:00
collection_tests(provider[:dns].zones, zone_attributes, config[:mocked])
end
end