Sha256: a7bd5b79c8bce9420f27ed975eb9f2a4c866a9f5b38db265e905480e77f233e0

Contents?: true

Size: 380 Bytes

Versions: 6

Compression:

Stored size: 380 Bytes

Contents

Shindo.tests("Fog::Ovirt::Compute | datacenters request", ["ovirt"]) do
  compute = Fog::Ovirt::Compute.new

  tests("When listing all datacenters") do
    response = compute.datacenters
    tests("The response data format ...") do
      test("it should be a kind of Array") { response.is_a? Array }
      test("be a kind of Hash") { response.first.is_a? Hash }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fog-ovirt-1.2.5 tests/ovirt/requests/compute/v3/list_datacenters_tests.rb
fog-ovirt-1.2.4 tests/ovirt/requests/compute/v3/list_datacenters_tests.rb
fog-ovirt-1.2.3 tests/ovirt/requests/compute/v3/list_datacenters_tests.rb
fog-ovirt-1.2.2 tests/ovirt/requests/compute/v3/list_datacenters_tests.rb
fog-ovirt-1.2.1 tests/ovirt/requests/compute/v3/list_datacenters_tests.rb
fog-ovirt-1.2.0 tests/ovirt/requests/compute/v3/list_datacenters_tests.rb