Sha256: 196285881d9aca55441f3bd4fe4ad20a7c5731654678aa02c18bc5a5d162a4ff

Contents?: true

Size: 943 Bytes

Versions: 9

Compression:

Stored size: 943 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 operating_systems].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 update_volume].each do |collection|
      test("it should respond to #{collection}") { compute.respond_to? collection }
    end
  end
end

Version data entries

9 entries across 7 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-ovirt-1.1.0/tests/ovirt/compute_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-ovirt-1.1.0/tests/ovirt/compute_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-ovirt-1.1.0/tests/ovirt/compute_tests.rb
fog-ovirt-1.1.0 tests/ovirt/compute_tests.rb
fog-ovirt-1.0.4 tests/ovirt/compute_tests.rb
fog-ovirt-1.0.3 tests/ovirt/compute_tests.rb
fog-ovirt-1.0.2 tests/ovirt/compute_tests.rb
fog-ovirt-1.0.1 tests/ovirt/compute_tests.rb
fog-ovirt-1.0.0 tests/ovirt/compute_tests.rb