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