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

13 lines
290 B
Ruby
Raw Normal View History

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