summaryrefslogtreecommitdiffstats
path: root/test/other/puppet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/puppet.rb')
-rwxr-xr-xtest/other/puppet.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/other/puppet.rb b/test/other/puppet.rb
index 45039e3c6..6527bed56 100755
--- a/test/other/puppet.rb
+++ b/test/other/puppet.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 'puppettest'