1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Changed ruby mad test to be runable from test dir

This commit is contained in:
Javi Fontan 2011-06-18 18:59:35 +02:00
parent 2dd628cc36
commit 6693c8e04a

View File

@ -1,4 +1,5 @@
$: << '..'
require 'OpenNebulaDriver'
require 'test/MonkeyPatcher'
@ -26,7 +27,7 @@ class OpenNebulaDriver
def read_configuration
old_one_location=ENV['ONE_LOCATION']
ENV['ONE_LOCATION']=File.join(ENV['PWD'], 'test', 'fixtures')
ENV['ONE_LOCATION']=File.join(ENV['PWD'], 'fixtures')
result=read_configuration_old
ENV['ONE_LOCATION']=old_one_location
result