Sha256: 8d03cded23bae11ac5894267e4e4cedfecf638f68018469784839b0727feac80

Contents?: true

Size: 334 Bytes

Versions: 65

Compression:

Stored size: 334 Bytes

Contents

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

  compute = Fog::Compute[:xenserver]
  host = compute.hosts.first
  
  tests('#enable_host') do
    test('enables the host') do
      compute.enable_host host.reference
      host.reload
      host.enabled
    end
  end

  # Cleanup 
  host.enable
end

Version data entries

65 entries across 65 versions & 6 rubygems

Version Path
fog-1.10.0 tests/xenserver/requests/compute/enable_host_tests.rb
fog-1.9.0 tests/xenserver/requests/compute/enable_host_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/xenserver/requests/compute/enable_host_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/xenserver/requests/compute/enable_host_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/xenserver/requests/compute/enable_host_tests.rb