lib/brightbox-cli/vendor/fog/tests/dns/models/zone_tests.rb in brightbox-cli-0.16.0 vs lib/brightbox-cli/vendor/fog/tests/dns/models/zone_tests.rb in brightbox-cli-0.17.0
- old
+ new
@@ -1,13 +1,15 @@
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
zone_attributes = {
- :domain => 'fogzonetests.com'
+ :domain => domain_name
}.merge!(config[:zone_attributes] || {})
model_tests(Fog::DNS[provider].zones, zone_attributes, config[:mocked])
end