1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/xenserver/requests/compute/enable_host_tests.rb
Paul Thornthwaite ef9a9697ab Remove trailing whitespace
Done with `rubocop --auto-correct --only TrailingWhitespace`
2014-05-26 14:44:18 +01:00

16 lines
331 B
Ruby

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