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:
parent
2dd628cc36
commit
6693c8e04a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user