diff options
| author | Luke Kanies <luke@madstop.com> | 2007-08-22 21:39:21 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-08-22 21:39:21 -0500 |
| commit | b599862fc85c968676799edde865a96faa66a75b (patch) | |
| tree | d6236652a2780c0cd42552b29f369b961eaeb008 /test/language | |
| parent | fb3bfa57d892bd3398fb1434ca9914bb8a7c3b50 (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-x | test/language/interpreter.rb | 2 |
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 |
