Sha256: 897dc3f03dedd7314f0e73797cf860c532481ea57e39b5f280c7982f42beffdb

Contents?: true

Size: 475 Bytes

Versions: 5

Compression:

Stored size: 475 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') { not ticket.ticket.empty? }
    test('should have a host') { not ticket.host.empty? }
    test('should have a port') { ticket.port.kind_of? Fixnum }
    test('should have a ssl ssl_thumbprint') { not ticket.ssl_thumbprint.empty? }
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fog-vsphere-2.0.1 tests/models/compute/ticket_tests.rb
fog-vsphere-2.0.0 tests/models/compute/ticket_tests.rb
fog-vsphere-1.13.1 tests/models/compute/ticket_tests.rb
fog-vsphere-1.13.0 tests/models/compute/ticket_tests.rb
fog-vsphere-1.12.0 tests/models/compute/ticket_tests.rb