Sha256: c91e43c12cf08f561f893a3bc39aa4addc860256522babfeebeb23993e378536

Contents?: true

Size: 639 Bytes

Versions: 134

Compression:

Stored size: 639 Bytes

Contents

Shindo.tests('Fog::Compute[:vsphere] | servers collection', ['vsphere']) do

  servers = Fog::Compute[:vsphere].servers

  tests('The servers collection') do
    test('should not be empty') { not servers.empty? }
    test('should be a kind of Fog::Compute::Vsphere::Servers') { servers.kind_of? Fog::Compute::Vsphere::Servers }
    tests('should be able to reload itself').succeeds { servers.reload }
    tests('should be able to get a model') do
      tests('by managed object reference').succeeds { servers.get 'vm-715' }
      tests('by instance uuid').succeeds { servers.get '5032c8a5-9c5e-ba7a-3804-832a03e16381' }
    end
  end

end

Version data entries

134 entries across 134 versions & 21 rubygems

Version Path
fog-1.36.0 tests/vsphere/models/compute/servers_tests.rb
fog-vsphere-0.2.0 tests/models/compute/servers_tests.rb
fog-vsphere-0.1.1 tests/models/compute/servers_tests.rb
fog-vsphere-0.1.0 tests/models/compute/servers_tests.rb
fog-1.35.0 tests/vsphere/models/compute/servers_tests.rb
fog-2.0.0.pre.0 tests/vsphere/models/compute/servers_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/vsphere/models/compute/servers_tests.rb
fog-1.34.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.33.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.32.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.31.0 tests/vsphere/models/compute/servers_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/vsphere/models/compute/servers_tests.rb
fog-1.30.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.29.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.28.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.27.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.26.0 tests/vsphere/models/compute/servers_tests.rb
fog-1.25.0 tests/vsphere/models/compute/servers_tests.rb
nsidc-fog-1.24.1 tests/vsphere/models/compute/servers_tests.rb
fog-1.24.0 tests/vsphere/models/compute/servers_tests.rb