Sha256: 3260c6974b4f914ed7b38f7580e72b1155d17d1715ba9d5659c18ac7792c33d6

Contents?: true

Size: 522 Bytes

Versions: 15

Compression:

Stored size: 522 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") { !servers.empty? }
    test("should be a kind of Fog::Compute::Ovirt::Servers") { servers.is_a? 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

15 entries across 13 versions & 2 rubygems

Version Path
fog-ovirt-1.1.6 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.1.5 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.1.4 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.1.3 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.1.2 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.1.1 tests/ovirt/models/compute/servers_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-ovirt-1.1.0/tests/ovirt/models/compute/servers_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-ovirt-1.1.0/tests/ovirt/models/compute/servers_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-ovirt-1.1.0/tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.1.0 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.0.4 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.0.3 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.0.2 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.0.1 tests/ovirt/models/compute/servers_tests.rb
fog-ovirt-1.0.0 tests/ovirt/models/compute/servers_tests.rb