Sha256: 67031769fd1076b647a14200eff335ad5429e6792639fac31c139c0e1213ff86
Contents?: true
Size: 560 Bytes
Versions: 29
Compression:
Stored size: 560 Bytes
Contents
Shindo.tests('Fog::Compute[:digitalocean] | power on/off/shutdown requests', ['digitalocean', 'compute']) do service = Fog::Compute[:digitalocean] server = fog_test_server tests('success') do test('#power_off_server') do service.power_off_server(server.id).body['status'] == 'OK' end test('#power_on_server') do service.power_on_server(server.id).body['status'] == 'OK' end test('#shutdown_server') do service.shutdown_server(server.id).body['status'] == 'OK' end server.start end end
Version data entries
29 entries across 29 versions & 4 rubygems