summaryrefslogtreecommitdiffstats
path: root/test/language/ast/hostclass.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/ast/hostclass.rb')
-rwxr-xr-xtest/language/ast/hostclass.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/language/ast/hostclass.rb b/test/language/ast/hostclass.rb
index f747779b3..62d4f9ee3 100755
--- a/test/language/ast/hostclass.rb
+++ b/test/language/ast/hostclass.rb
@@ -3,7 +3,7 @@
# Created by Luke A. Kanies on 2006-02-20.
# Copyright (c) 2006. All rights reserved.
-$:.unshift("../../lib") if __FILE__ =~ /\.rb$/
+require File.dirname(__FILE__) + '/../../lib/puppettest'
require 'puppettest'
require 'puppettest/parsertesting'