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/helper.rb
Sergio Rubio fb54e330b2 * renamed some tests
* Added missing VDI attributes and methods
* added create/destroy request tests
* Added valid_ref? test helper
* Fixes in get_record_tests
2012-04-12 20:59:53 +02:00

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