Sha256: c11962f5cb2e942d4ccb1fda1d17c8704d72f112ba6987ae4eb79dd93ca5054f

Contents?: true

Size: 739 Bytes

Versions: 12

Compression:

Stored size: 739 Bytes

Contents

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

  compute = Fog::Compute[:libvirt]

  tests("Compute collections") do
    %w{ servers interfaces networks nics nodes pools volumes}.each do |collection|
      test("it should respond to #{collection}") { compute.respond_to? collection }
    end
  end

  tests("Compute requests") do
    %w{ create_domain create_volume define_domain define_pool destroy_interface destroy_network get_node_info
        update_autostart list_domains
        list_interfaces list_networks list_pools list_pool_volumes list_volumes pool_action vm_action volume_action
        dhcp_leases }.each do |request|
      test("it should respond to #{request}") { compute.respond_to? request }
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
fog-libvirt-0.13.2 tests/libvirt/compute_tests.rb
fog-libvirt-0.13.1 tests/libvirt/compute_tests.rb
fog-libvirt-0.13.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.12.2 tests/libvirt/compute_tests.rb
fog-libvirt-0.12.1 tests/libvirt/compute_tests.rb
fog-libvirt-0.12.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.11.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.10.1 tests/libvirt/compute_tests.rb
fog-libvirt-0.10.0 tests/libvirt/compute_tests.rb
fog-libvirt-csem-0.9.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.9.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.8.0 tests/libvirt/compute_tests.rb