Sha256: 0eec5181f3c01152b815ca9be183325e3b10208936be609e6f162478f51cbb36

Contents?: true

Size: 528 Bytes

Versions: 11

Compression:

Stored size: 528 Bytes

Contents

Shindo.tests('Fog::Compute[:libvirt] | pools request', ['libvirt']) do

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

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

Version data entries

11 entries across 11 versions & 2 rubygems

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