Sha256: 9527f1529cf13525d1e25b908b58615cb59df5f4071970e85bca1e3fb09d02fe

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 Bytes

Contents

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

  compute = Fog::Compute[:ovirt]

  tests("Compute attributes") do
    %w{ client }.each do |attr|
      test("it should respond to #{attr}") { compute.respond_to? attr }
    end
  end

  tests("Compute collections") do
    %w{ servers templates clusters }.each do |collection|
      test("it should respond to #{collection}") { compute.respond_to? collection }
    end
  end

  tests("Compute requests") do
    %w{ datacenters storage_domains vm_action destroy_vm }.each do |collection|
      test("it should respond to #{collection}") { compute.respond_to? collection }
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/tests/ovirt/compute_tests.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/tests/ovirt/compute_tests.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/tests/ovirt/compute_tests.rb
ktheory-fog-1.1.2 tests/ovirt/compute_tests.rb