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
ns-fog-1.22.10 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.9 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.8 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.7 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.6 tests/libvirt/models/compute/servers_tests.rb
fog-1.23.0 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.4 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.3 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.2 tests/libvirt/models/compute/servers_tests.rb
fog-1.22.1 tests/libvirt/models/compute/servers_tests.rb
fog-1.22.0 tests/libvirt/models/compute/servers_tests.rb
fog-1.21.0 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/libvirt/models/compute/servers_tests.rb
fog-1.20.0 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/libvirt/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/libvirt/models/compute/servers_tests.rb