Sha256: 1a7018e928991cb9199d855fa8bfc11e149fcee7120b124c98023b86b1c677e3

Contents?: true

Size: 714 Bytes

Versions: 10

Compression:

Stored size: 714 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 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

10 entries across 10 versions & 1 rubygems

Version Path
fog-libvirt-0.7.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.6.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.5.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.4.2 tests/libvirt/compute_tests.rb
fog-libvirt-0.4.1 tests/libvirt/compute_tests.rb
fog-libvirt-0.4.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.3.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.2.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.1.0 tests/libvirt/compute_tests.rb
fog-libvirt-0.0.4 tests/libvirt/compute_tests.rb