diff options
| author | Luke Kanies <luke@madstop.com> | 2007-09-25 00:43:15 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-09-25 00:43:15 -0500 |
| commit | 4679f4dcc110e3362b0097efe1d5a416c659611b (patch) | |
| tree | d8dd9aa3f220c7a1d8e3cb0d486e1a7bba7276f7 /spec/unit/parser | |
| parent | c3c3e519219ad80ac07d21c74849fbc4246c9d7a (diff) | |
| parent | cdc8ea6e81c1b5eba5ea784bb7079c4c1f3965a4 (diff) | |
Merge branch 'indirection' of git://reductivelabs.com/puppet-luke
Diffstat (limited to 'spec/unit/parser')
| -rwxr-xr-x | spec/unit/parser/interpreter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/parser/interpreter.rb b/spec/unit/parser/interpreter.rb index c0f9d54b3..a79267b52 100755 --- a/spec/unit/parser/interpreter.rb +++ b/spec/unit/parser/interpreter.rb @@ -77,8 +77,8 @@ describe Puppet::Parser::Interpreter, " when creating parser instances" do file = mock 'file' file.stubs(:changed?).returns(true) file.stubs(:file).returns("/whatever") - Puppet.config.stubs(:read_file).with(file).returns(text) - Puppet.config.parse(file) + Puppet.settings.stubs(:read_file).with(file).returns(text) + Puppet.settings.parse(file) parser1 = mock 'parser1' Puppet::Parser::Parser.expects(:new).with(:environment => :env1).returns(parser1) |
