Sha256: e22370e7bbdf520ec11ce96da10a5b9cf75276406b2d9799c05c98faa0f158a5

Contents?: true

Size: 669 Bytes

Versions: 61

Compression:

Stored size: 669 Bytes

Contents

Shindo.tests('Fog::DNS[:dreamhost]', ['dreamhost', 'dns']) do

  service = Fog::DNS[:dreamhost]

  tests("collections") do
    %w{ records zones }.each do |collection|
      test("it should respond to #{collection}") { service.respond_to? collection }
      test("it should respond to #{collection}.all") { eval("service.#{collection}").respond_to? 'all' }
      test("it should respond to #{collection}.get") { eval("service.#{collection}").respond_to? 'get' }
    end
  end
  
  tests("requests") do
    %w{ list_records create_record delete_record }.each do |request|
      test("it should respond to #{request}") { service.respond_to? request }
    end
  end

end

Version data entries

61 entries across 61 versions & 6 rubygems

Version Path
fog-maestrodev-1.18.0.20131209090811 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131206115947 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131205181604 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131127194823 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131126183714 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131126122111 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131125111730 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131125083406 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131123105121 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131122203507 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131121075022 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131118164830 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131115184302 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131114200144 tests/dreamhost/dns_tests.rb
gapinc-fog-1.12.1.2.1 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131112185232 tests/dreamhost/dns_tests.rb
fog-maestrodev-1.18.0.20131111203459 tests/dreamhost/dns_tests.rb
fog-1.18.0 tests/dreamhost/dns_tests.rb
fog-1.17.0 tests/dreamhost/dns_tests.rb
fog-1.16.0 tests/dreamhost/dns_tests.rb