From 6693c8e04ab1ae0228cc1bf6693fff3a95ef9bcf Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Sat, 18 Jun 2011 18:59:35 +0200 Subject: [PATCH] Changed ruby mad test to be runable from test dir --- src/mad/ruby/test/OpenNebulaDriver_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mad/ruby/test/OpenNebulaDriver_spec.rb b/src/mad/ruby/test/OpenNebulaDriver_spec.rb index 408b907337..6b1efffce6 100644 --- a/src/mad/ruby/test/OpenNebulaDriver_spec.rb +++ b/src/mad/ruby/test/OpenNebulaDriver_spec.rb @@ -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