(maint) cosmetic cleanup in spec helper

This commit is contained in:
Rick Bradley 2016-06-02 12:08:42 -05:00
parent 15b5d328ab
commit ab88720496

View file

@ -30,13 +30,13 @@ end
def create_ready_vm(template, name, token = nil)
create_vm(name, token)
redis.sadd('vmpooler__ready__' + template, name)
redis.sadd("vmpooler__ready__#{template}", name)
redis.hset("vmpooler_vm_#{name}", "template", template)
end
def create_running_vm(template, name, token = nil)
create_vm(name, token)
redis.sadd('vmpooler__running__' + template, name)
redis.sadd("vmpooler__running__#{template}", name)
redis.hset("vmpooler__vm__#{name}", "template", template)
end