From d03f68eaed6d05483128b495ad1faaf89208d66a Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Fri, 26 Oct 2007 11:26:57 -0500 Subject: Changing the test/ classes so that they work from the main test/ dir or from their own working dir, like the specs do. This was just a question of changing how their libraries are loaded. --- test/util/autoload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/util/autoload.rb') diff --git a/test/util/autoload.rb b/test/util/autoload.rb index ca77572c2..6babed774 100755 --- a/test/util/autoload.rb +++ b/test/util/autoload.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -$:.unshift("../lib").unshift("../../lib") if __FILE__ =~ /\.rb$/ +require File.dirname(__FILE__) + '/../lib/puppettest' require 'puppet' require 'puppet/util/autoload' -- cgit