Sha256: a67dac461e7264825362b5b8a034f6dcc3e536d68a75bb3182999914ac1670bd

Contents?: true

Size: 540 Bytes

Versions: 109

Compression:

Stored size: 540 Bytes

Contents

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

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

  tests('The servers collection') do
    test('should not be empty') { not servers.empty? }
    test('should be a kind of Fog::Compute::Libvirt::Servers') { servers.kind_of? Fog::Compute::Libvirt::Servers }
    tests('should be able to reload itself').succeeds { servers.reload }
    tests('should be able to get a model') do
      tests('by instance uuid').succeeds { servers.get servers.first.id }
    end
  end

end

Version data entries

109 entries across 109 versions & 16 rubygems

Version Path
gapinc-fog-1.12.1 tests/libvirt/models/compute/servers_tests.rb
fog-1.12.1 tests/libvirt/models/compute/servers_tests.rb
fog-1.12.0 tests/libvirt/models/compute/servers_tests.rb
hpfog-0.0.20 tests/libvirt/models/compute/servers_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/libvirt/models/compute/servers_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/libvirt/models/compute/servers_tests.rb
fog-nirvanix-1.8.2 tests/libvirt/models/compute/servers_tests.rb
fog-1.11.1 tests/libvirt/models/compute/servers_tests.rb
fog-1.11.0 tests/libvirt/models/compute/servers_tests.rb
fog-nirvanix-1.8.1 tests/libvirt/models/compute/servers_tests.rb
fog-1.10.1 tests/libvirt/models/compute/servers_tests.rb
fog-parser-fix-1.6.1 tests/libvirt/models/compute/servers_tests.rb
fog-test-again-1.6.0 tests/libvirt/models/compute/servers_tests.rb
fog-test-me-1.10.0 tests/libvirt/models/compute/servers_tests.rb
fog-parser-fix-1.6.0 tests/libvirt/models/compute/servers_tests.rb
fog-1.10.0 tests/libvirt/models/compute/servers_tests.rb
fog-1.9.0 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/libvirt/models/compute/servers_tests.rb