Sha256: 7567dc5c5aded7cbd09398f839e0ebdd67c78436d8b037e2e2fcc563d1968af5

Contents?: true

Size: 465 Bytes

Versions: 127

Compression:

Stored size: 465 Bytes

Contents

Shindo.tests('Fog::Rackspace::DNS | zone', ['rackspace']) do
  pending if Fog.mocking?

  provider = Fog::DNS[:rackspace]
  domain_name = uniq_id + '.com'

  zone = provider.zones.create({:domain => domain_name, :email => 'hostmaster@' + domain_name})

  tests('adding same domain twice throws error').raises(Fog::DNS::Rackspace::CallbackError) do
    provider.zones.create({:domain => domain_name, :email => 'hostmaster@' + domain_name})
  end

  zone.destroy
end

Version data entries

127 entries across 125 versions & 20 rubygems

Version Path
fog-rackspace-0.1.6 tests/rackspace/models/dns/zone_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/dns/zone_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/dns/zone_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/dns/zone_tests.rb
fog-rackspace-0.1.5 tests/rackspace/models/dns/zone_tests.rb
fog-rackspace-0.1.4 tests/rackspace/models/dns/zone_tests.rb
fog-rackspace-0.1.3 tests/rackspace/models/dns/zone_tests.rb
fog-rackspace-0.1.2 tests/rackspace/models/dns/zone_tests.rb
fog-rackspace-0.1.1 tests/rackspace/models/dns/zone_tests.rb
fog-rackspace-0.1.0 tests/rackspace/models/dns/zone_tests.rb
fog-1.37.0 tests/rackspace/models/dns/zone_tests.rb
fog-1.36.0 tests/rackspace/models/dns/zone_tests.rb
fog-1.35.0 tests/rackspace/models/dns/zone_tests.rb
fog-2.0.0.pre.0 tests/rackspace/models/dns/zone_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/rackspace/models/dns/zone_tests.rb
fog-1.34.0 tests/rackspace/models/dns/zone_tests.rb
fog-1.33.0 tests/rackspace/models/dns/zone_tests.rb
fog-1.32.0 tests/rackspace/models/dns/zone_tests.rb
fog-1.31.0 tests/rackspace/models/dns/zone_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/rackspace/models/dns/zone_tests.rb