Sha256: 5e3af1f240a7790fbea84a614a6d2e8cc692eb713f7e917034080e54df2b1742

Contents?: true

Size: 463 Bytes

Versions: 13

Compression:

Stored size: 463 Bytes

Contents

Shindo.tests('Fog::Compute[:vsphere] | hosts collection', ['vsphere']) do
  servers = Fog::Compute[:vsphere].servers
  server = servers.last
  ticket = server.acquire_ticket

  tests('A ticket') do
    test('should have a ticket') { !ticket.ticket.empty? }
    test('should have a host') { !ticket.host.empty? }
    test('should have a port') { ticket.port.is_a?(Integer) }
    test('should have a ssl ssl_thumbprint') { !ticket.ssl_thumbprint.empty? }
  end
end

Version data entries

13 entries across 11 versions & 2 rubygems

Version Path
fog-vsphere-3.7.0 tests/models/compute/ticket_tests.rb
fog-vsphere-3.6.8 tests/models/compute/ticket_tests.rb
fog-vsphere-3.6.7 tests/models/compute/ticket_tests.rb
fog-vsphere-3.6.6 tests/models/compute/ticket_tests.rb
fog-vsphere-3.0.0 tests/models/compute/ticket_tests.rb
fog-vsphere-2.5.0 tests/models/compute/ticket_tests.rb
fog-vsphere-2.4.0 tests/models/compute/ticket_tests.rb
fog-vsphere-2.3.0 tests/models/compute/ticket_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-vsphere-2.2.0/tests/models/compute/ticket_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-vsphere-2.2.0/tests/models/compute/ticket_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-vsphere-2.2.0/tests/models/compute/ticket_tests.rb
fog-vsphere-2.2.0 tests/models/compute/ticket_tests.rb
fog-vsphere-1.7.0.1 tests/models/compute/ticket_tests.rb