Sha256: c2b8b0f1abae828f3ff02e19a795d40a0f40c4512879adae05004e155ef8acf9

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 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

3 entries across 3 versions & 1 rubygems

Version Path
fog-libvirt-0.13.2 tests/libvirt/models/compute/pools_tests.rb
fog-libvirt-0.13.1 tests/libvirt/models/compute/pools_tests.rb
fog-libvirt-0.13.0 tests/libvirt/models/compute/pools_tests.rb