Sha256: d85eb8419771c711790cde5627f1cc5357c824bb0a940aa792d8816a66b48d98

Contents?: true

Size: 530 Bytes

Versions: 125

Compression:

Stored size: 530 Bytes

Contents

Shindo.tests('Fog::Compute[:ovirt] | servers collection', ['ovirt']) do

  servers = Fog::Compute[:ovirt].servers

  tests('The servers collection') do
    test('should not be empty') { not servers.empty? }
    test('should be a kind of Fog::Compute::Ovirt::Servers') { servers.kind_of? Fog::Compute::Ovirt::Servers }
    tests('should be able to reload itself').succeeds { servers.reload }
    tests('should be able to get a model') do
      tests('by instance uuid').succeeds { servers.get servers.first.id }
    end
  end

end

Version data entries

125 entries across 125 versions & 19 rubygems

Version Path
fog-ovirt-0.1.3 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-0.1.2 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-0.1.1 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-0.1.0 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-0.0.1 tests/ovirt/models/compute/servers_tests.rb
fog-1.41.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.40.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.39.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.38.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.37.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.36.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.35.0 tests/ovirt/models/compute/servers_tests.rb
fog-2.0.0.pre.0 tests/ovirt/models/compute/servers_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/ovirt/models/compute/servers_tests.rb
fog-1.34.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.33.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.32.0 tests/ovirt/models/compute/servers_tests.rb
fog-1.31.0 tests/ovirt/models/compute/servers_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/ovirt/models/compute/servers_tests.rb
fog-1.30.0 tests/ovirt/models/compute/servers_tests.rb