Sha256: 78ec423877f1118eb3baf75d9bbd47c322e4a5597bb07ef555ccd4a56cde93c8

Contents?: true

Size: 356 Bytes

Versions: 12

Compression:

Stored size: 356 Bytes

Contents

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

  servers = Fog::Compute[:libvirt].servers

  tests('The response should') do
    test('should not be empty') { not servers.empty? }
    server = servers.first
    tests('should be false').succeeds { server.autostart == false }
    server.update_autostart(true)
  end

end

Version data entries

12 entries across 12 versions & 2 rubygems

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