Sha256: ea369db27346ee0bf7c715191eb3653c477ba3c142b0c2279b6883007941bce2

Contents?: true

Size: 575 Bytes

Versions: 109

Compression:

Stored size: 575 Bytes

Contents

Shindo.tests('Fog::Compute[:libvirt] | interfaces collection', ['libvirt']) do

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

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

end

Version data entries

109 entries across 109 versions & 16 rubygems

Version Path
gapinc-fog-1.12.1 tests/libvirt/models/compute/interfaces_tests.rb
fog-1.12.1 tests/libvirt/models/compute/interfaces_tests.rb
fog-1.12.0 tests/libvirt/models/compute/interfaces_tests.rb
hpfog-0.0.20 tests/libvirt/models/compute/interfaces_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/libvirt/models/compute/interfaces_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/libvirt/models/compute/interfaces_tests.rb
fog-nirvanix-1.8.2 tests/libvirt/models/compute/interfaces_tests.rb
fog-1.11.1 tests/libvirt/models/compute/interfaces_tests.rb
fog-1.11.0 tests/libvirt/models/compute/interfaces_tests.rb
fog-nirvanix-1.8.1 tests/libvirt/models/compute/interfaces_tests.rb
fog-1.10.1 tests/libvirt/models/compute/interfaces_tests.rb
fog-parser-fix-1.6.1 tests/libvirt/models/compute/interfaces_tests.rb
fog-test-again-1.6.0 tests/libvirt/models/compute/interfaces_tests.rb
fog-test-me-1.10.0 tests/libvirt/models/compute/interfaces_tests.rb
fog-parser-fix-1.6.0 tests/libvirt/models/compute/interfaces_tests.rb
fog-1.10.0 tests/libvirt/models/compute/interfaces_tests.rb
fog-1.9.0 tests/libvirt/models/compute/interfaces_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/libvirt/models/compute/interfaces_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/libvirt/models/compute/interfaces_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/libvirt/models/compute/interfaces_tests.rb