summaryrefslogtreecommitdiffstats
path: root/test/language
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-08-22 21:39:21 -0500
committerLuke Kanies <luke@madstop.com>2007-08-22 21:39:21 -0500
commitb599862fc85c968676799edde865a96faa66a75b (patch)
treed6236652a2780c0cd42552b29f369b961eaeb008 /test/language
parentfb3bfa57d892bd3398fb1434ca9914bb8a7c3b50 (diff)
Fixing the integration test between interpreter and configuration -- the interpreter was not passing on that the config should use ast nodes
Diffstat (limited to 'test/language')
-rwxr-xr-xtest/language/interpreter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/language/interpreter.rb b/test/language/interpreter.rb
index ebbc3f87f..1adcb7bde 100755
--- a/test/language/interpreter.rb
+++ b/test/language/interpreter.rb
@@ -119,7 +119,7 @@ class TestInterpreter < PuppetTest::TestCase
node = mock('node')
config = mock('config')
config.expects(:compile).returns(:config)
- Puppet::Parser::Configuration.expects(:new).with(node, parser).returns(config)
+ Puppet::Parser::Configuration.expects(:new).with(node, parser, :ast_nodes => interp.usenodes).returns(config)
assert_equal(:config, interp.compile(node), "Did not return the results of config.compile")
end