Sha256: 9697045c665d1002b2f6fd80f8630cfe36becde8590838419d414f279701b5b4

Contents?: true

Size: 540 Bytes

Versions: 13

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::Libvirt::Compute::Servers') { servers.kind_of? Fog::Libvirt::Compute::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

13 entries across 13 versions & 2 rubygems

Version Path
fog-libvirt-0.13.1 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.13.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.12.2 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.12.1 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.12.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.11.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.10.1 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.10.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-csem-0.9.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.9.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.8.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.7.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.6.0 tests/libvirt/models/compute/servers_tests.rb