Sha256: 81469253b11780b8ef1e7379aba76b0e7503bae5079701668857332e3cc7b74c

Contents?: true

Size: 593 Bytes

Versions: 58

Compression:

Stored size: 593 Bytes

Contents

#
# Author:: Celso Fernandes (<fernandes@zertico.com>)
# © Copyright IBM Corporation 2014.
#
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#

Shindo.tests("Fog::DNS[:softlayer] | Records model", ["softlayer"]) do

  @service = Fog::DNS[:softlayer]
  
  tests("success") do

    # Setup
    name = "fog-domain-"+SecureRandom.random_number(36**12).to_s(36).rjust(12, "0") + ".com"
    @domain = @service.domains.create(name)

    tests("#all") do
      returns(3, "returns default records for domain") { @domain.records.count }
    end
    
    # Teardown
    @domain.destroy

  end
end

Version data entries

58 entries across 56 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-softlayer-1.1.4/tests/softlayer/models/dns/records_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-softlayer-1.1.4/tests/softlayer/models/dns/records_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-softlayer-1.1.4/tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.1.4 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.1.3 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.1.2 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.1.1 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.1.0 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.0.3 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.0.2 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.0.1 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-1.0.0 tests/softlayer/models/dns/records_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-softlayer-0.4.7/tests/softlayer/models/dns/records_tests.rb
fog-softlayer-0.4.7 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-0.4.6 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-0.4.5 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-0.4.4 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-0.4.3 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-0.4.2 tests/softlayer/models/dns/records_tests.rb
fog-softlayer-0.4.2.pre tests/softlayer/models/dns/records_tests.rb