mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fb54e330b2
* Added missing VDI attributes and methods * added create/destroy request tests * Added valid_ref? test helper * Fixes in get_record_tests
12 lines
189 B
Ruby
12 lines
189 B
Ruby
def test_template_name
|
|
'squeeze-test'
|
|
end
|
|
|
|
def test_ephemeral_vm_name
|
|
'fog-test-server-shindo'
|
|
end
|
|
|
|
def valid_ref?(ref)
|
|
(ref =~ /OpaqueRef:/) and \
|
|
(ref != "OpaqueRef:NULL" )
|
|
end
|