Sha256: 0dd4c10709ed46017159fde3ffdbc66093fbea8addcee70a69eaaff27c558f72

Contents?: true

Size: 628 Bytes

Versions: 37

Compression:

Stored size: 628 Bytes

Contents

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

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

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

end

Version data entries

37 entries across 35 versions & 5 rubygems

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