Sha256: 78e07d23bdd936d9426041fe4be2fc290c062ed11cca15de60f41352f1a59898

Contents?: true

Size: 336 Bytes

Versions: 25

Compression:

Stored size: 336 Bytes

Contents

Shindo.tests('Fog::Compute[:xenserver] | disable_host request', ['xenserver']) do

  compute = Fog::Compute[:xenserver]
  host = compute.hosts.first

  tests('#disable_host') do
    test('disables the host') do
      compute.disable_host host.reference
      host.reload
      !host.enabled
    end
  end

  # Cleanup
  host.enable
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
fog-1.23.0 tests/xenserver/requests/compute/disable_host_tests.rb
ns-fog-1.22.4 tests/xenserver/requests/compute/disable_host_tests.rb
ns-fog-1.22.3 tests/xenserver/requests/compute/disable_host_tests.rb
ns-fog-1.22.2 tests/xenserver/requests/compute/disable_host_tests.rb
fog-1.22.1 tests/xenserver/requests/compute/disable_host_tests.rb