Sha256: 9e202200d2c3a16b65d03fc9609c69309e600ce5d70b1518c2f3ed9510fd5161
Contents?: true
Size: 458 Bytes
Versions: 25
Compression:
Stored size: 458 Bytes
Contents
Shindo.tests('Fog::Compute[:xenserver] | get_record request', ['xenserver']) do compute = Fog::Compute[:xenserver] vm_ref = 'alksjdfoiuoiwueroiwe' tests('The response should') do raises(Fog::XenServer::RequestFailed, 'when ref invalid') do response = compute.get_record(vm_ref, 'VM') end end tests('The expected options') do raises(ArgumentError, 'raises ArgumentError when ref,class missing') { compute.get_record } end end
Version data entries
25 entries across 25 versions & 4 rubygems