Sha256: 0d64a51f932336c3a288524d7d012fe4db13b92ad7cb8f6436c6ca8eba978141
Contents?: true
Size: 540 Bytes
Versions: 44
Compression:
Stored size: 540 Bytes
Contents
Shindo.tests('Fog::Compute[:vsphere] | revert_to_snapshot request', ['vsphere']) do compute = Fog::Compute[:vsphere] tests('The response should') do response = compute.revert_to_snapshot(Fog::Compute::Vsphere::Snapshot.new(:service => 1)) test('be a kind of Hash') { response.kind_of? Hash } test('should have a task_state key') { response.key? 'state' } end tests('The expected options') do raises(ArgumentError, 'raises ArgumentError when input param is missing') { compute.revert_to_snapshot(nil) } end end
Version data entries
44 entries across 44 versions & 1 rubygems