summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-01-20 22:00:05 -0800
committerLuke Kanies <luke@madstop.com>2008-02-04 19:32:36 -0600
commited0c745c0f3b0f277968149ca25c78ce374bd2e4 (patch)
treecb13012513392802dfcc00a1fdde867faa465223 /test/lib
parent6ff9423c7ebaf759fcee28a3009cd59bed3ea886 (diff)
downloadpuppet-ed0c745c0f3b0f277968149ca25c78ce374bd2e4.tar.gz
puppet-ed0c745c0f3b0f277968149ca25c78ce374bd2e4.tar.xz
puppet-ed0c745c0f3b0f277968149ca25c78ce374bd2e4.zip
Fixing #1017 -- environment-specific modulepath is no
longer ignored. (Cherry-picked from master.)
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/puppettest/parsertesting.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/puppettest/parsertesting.rb b/test/lib/puppettest/parsertesting.rb
index 6fd60180a..36bb68a77 100644
--- a/test/lib/puppettest/parsertesting.rb
+++ b/test/lib/puppettest/parsertesting.rb
@@ -58,8 +58,8 @@ module PuppetTest::ParserTesting
Puppet::Parser::Interpreter.new
end
- def mkparser
- Puppet::Parser::Parser.new()
+ def mkparser(args = {})
+ Puppet::Parser::Parser.new(args)
end
def mkscope(hash = {})