Sha256: 8434284ba7078e0b35d4a0fc36db13c7519782e95d9c95551bd54ca5d50b3415
Contents?: true
Size: 593 Bytes
Versions: 10
Compression:
Stored size: 593 Bytes
Contents
for provider, config in dns_providers Shindo.tests("#{provider}::DNS | record", [provider.to_s.downcase]) do record_attributes = { :ip => '1.2.3.4', :name => 'www.fogrecordtests.com', :type => 'A' }.merge!(config[:record_attributes] || {}) if !Fog.mocking? || config[:mocked] zone_attributes = { :domain => 'fogrecordtests.com' }.merge(config[:zone_attributes] || {}) @zone = provider[:dns].zones.create(zone_attributes) model_tests(@zone.records, record_attributes, config[:mocked]) @zone.destroy end end end
Version data entries
10 entries across 10 versions & 2 rubygems