Sha256: cfe768663b8653b09eb8c0c0deb448471d92dd29eb54bb39504f58beb3be946d

Contents?: true

Size: 694 Bytes

Versions: 101

Compression:

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

Version data entries

101 entries across 101 versions & 16 rubygems

Version Path
fog-1.17.0 tests/libvirt/compute_tests.rb
fog-1.16.0 tests/libvirt/compute_tests.rb
fog-maestrodev-1.15.0.20130927082724 tests/libvirt/compute_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/libvirt/compute_tests.rb
fog-1.15.0 tests/libvirt/compute_tests.rb
gapinc-fog-1.14.0 tests/libvirt/compute_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/libvirt/compute_tests.rb
fog-1.14.0 tests/libvirt/compute_tests.rb
fog-1.13.0 tests/libvirt/compute_tests.rb
gapinc-fog-1.12.1.2 tests/libvirt/compute_tests.rb
gapinc-fog-1.12.1.1 tests/libvirt/compute_tests.rb
gapinc-fog-1.12.1a tests/libvirt/compute_tests.rb
gapinc-fog-1.12.1 tests/libvirt/compute_tests.rb
fog-1.12.1 tests/libvirt/compute_tests.rb
fog-1.12.0 tests/libvirt/compute_tests.rb
hpfog-0.0.20 tests/libvirt/compute_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/libvirt/compute_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/libvirt/compute_tests.rb
fog-nirvanix-1.8.2 tests/libvirt/compute_tests.rb
fog-1.11.1 tests/libvirt/compute_tests.rb