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
fog-libvirt-0.5.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.4.2 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.4.1 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.4.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.3.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.2.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.1.0 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.0.4 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.0.3 tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.0.2 tests/libvirt/models/compute/servers_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/libvirt/models/compute/servers_tests.rb
fog-libvirt-0.0.1 tests/libvirt/models/compute/servers_tests.rb
fog-1.29.0 tests/libvirt/models/compute/servers_tests.rb
fog-1.28.0 tests/libvirt/models/compute/servers_tests.rb
fog-1.27.0 tests/libvirt/models/compute/servers_tests.rb
fog-1.26.0 tests/libvirt/models/compute/servers_tests.rb
fog-1.25.0 tests/libvirt/models/compute/servers_tests.rb
nsidc-fog-1.24.1 tests/libvirt/models/compute/servers_tests.rb
fog-1.24.0 tests/libvirt/models/compute/servers_tests.rb
ns-fog-1.22.11 tests/libvirt/models/compute/servers_tests.rb