Sha256: 47f22500e9d8187710530c4fca0eeca9fb7e190120e1b591dc89259d2f0446e7

Contents?: true

Size: 601 Bytes

Versions: 17

Compression:

Stored size: 601 Bytes

Contents

for provider, config in dns_providers

  Shindo.tests("#{provider}::DNS | records", [provider.to_s.downcase]) do

    record_attributes = {
      :ip => '1.2.3.4',
      :name => 'www.fogrecordstests.com',
      :type => 'A'
    }.merge!(config[:record_attributes] || {})

    if !Fog.mocking? || config[:mocked]
      zone_attributes = {
        :domain => 'fogrecordstests.com'
      }.merge(config[:zone_attributes] || {})

      @zone = provider[:dns].zones.create(zone_attributes)

      collection_tests(@zone.records, record_attributes, config[:mocked])

      @zone.destroy
    end

  end

end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
fog-0.8.2 tests/dns/models/records_tests.rb
fog-0.8.1 tests/dns/models/records_tests.rb
fog-0.8.0 tests/dns/models/records_tests.rb
fog-0.7.2 tests/dns/models/records_tests.rb
fog-0.7.1 tests/dns/models/records_tests.rb
fog-0.7.0 tests/dns/models/records_tests.rb
fog-0.6.0 tests/dns/models/records_tests.rb
fog-0.5.3 tests/dns/models/records_tests.rb
fog-0.5.2 tests/dns/models/records_tests.rb
fog-0.5.1 tests/dns/models/records_tests.rb
fog-0.5.0 tests/dns/models/records_tests.rb
phpfog-fog-0.4.1.3 tests/dns/models/records_tests.rb
phpfog-fog-0.4.1.2 tests/dns/models/records_tests.rb
phpfog-fog-0.4.1.1 tests/dns/models/records_tests.rb
phpfog-fog-0.4.1 tests/dns/models/records_tests.rb
fog-0.4.1 tests/dns/models/records_tests.rb
fog-0.4.0 tests/dns/models/records_tests.rb