Sha256: da644264c38f0d7308bfefa04d0d66bcbd5bb4af73a2972f4b0d05ea6618c6be

Contents?: true

Size: 714 Bytes

Versions: 20

Compression:

Stored size: 714 Bytes

Contents

Shindo.tests('Fog::Compute[:opennebula] | networks collection', ['opennebula']) do

  networks = Fog::Compute[:opennebula].networks

  tests('The networks collection') do
    test('should be a kind of Fog::Compute::OpenNebula::Networks') { networks.kind_of? Fog::Compute::OpenNebula::Networks }
    tests('should be able to reload itself').succeeds { networks.reload }
    tests('should be able to get a model') do
      tests('all').succeeds { networks.all }
      tests('by instance id').succeeds { networks.get networks.first.id }
      tests('by filter').succeeds { networks.get_by_filter ({ :id => networks.first.id }) }
      tests('by name').succeeds { networks.get_by_name ("fogtest") }
    end
  end

end

Version data entries

20 entries across 18 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/opennebula/models/compute/networks_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/opennebula/models/compute/networks_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/opennebula/models/compute/networks_tests.rb
fog-1.42.1 tests/opennebula/models/compute/networks_tests.rb
fog-2.0.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.42.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.41.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.40.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.39.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.38.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.37.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.36.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.35.0 tests/opennebula/models/compute/networks_tests.rb
fog-2.0.0.pre.0 tests/opennebula/models/compute/networks_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/opennebula/models/compute/networks_tests.rb
fog-1.34.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.33.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.32.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.31.0 tests/opennebula/models/compute/networks_tests.rb
fog-1.30.0 tests/opennebula/models/compute/networks_tests.rb