Sha256: c34ef79ad44d4979d25655b79d4c296a911e12fd4b23a87bc54d8fbd0070ab8d

Contents?: true

Size: 916 Bytes

Versions: 15

Compression:

Stored size: 916 Bytes

Contents

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

  compute = Fog::Compute[:ovirt]

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

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

  tests("Compute requests") do
    %w{ add_interface create_vm datacenters destroy_interface destroy_vm get_cluster get_template
        get_virtual_machine list_clusters list_networks list_template_interfaces list_templates
        list_virtual_machines list_vm_interfaces storage_domains update_interface update_vm vm_action
        api_version}.each do |collection|
      test("it should respond to #{collection}") { compute.respond_to? collection }
    end
  end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/ovirt/compute_tests.rb
fog-1.24.0 tests/ovirt/compute_tests.rb
ns-fog-1.22.11 tests/ovirt/compute_tests.rb
ns-fog-1.22.10 tests/ovirt/compute_tests.rb
ns-fog-1.22.9 tests/ovirt/compute_tests.rb
ns-fog-1.22.8 tests/ovirt/compute_tests.rb
ns-fog-1.22.7 tests/ovirt/compute_tests.rb
ns-fog-1.22.6 tests/ovirt/compute_tests.rb
fog-1.23.0 tests/ovirt/compute_tests.rb
ns-fog-1.22.4 tests/ovirt/compute_tests.rb
ns-fog-1.22.3 tests/ovirt/compute_tests.rb
ns-fog-1.22.2 tests/ovirt/compute_tests.rb
fog-1.22.1 tests/ovirt/compute_tests.rb
fog-1.22.0 tests/ovirt/compute_tests.rb
fog-1.21.0 tests/ovirt/compute_tests.rb