summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-25 00:43:15 -0500
committerLuke Kanies <luke@madstop.com>2007-09-25 00:43:15 -0500
commit4679f4dcc110e3362b0097efe1d5a416c659611b (patch)
treed8dd9aa3f220c7a1d8e3cb0d486e1a7bba7276f7 /spec/unit/parser
parentc3c3e519219ad80ac07d21c74849fbc4246c9d7a (diff)
parentcdc8ea6e81c1b5eba5ea784bb7079c4c1f3965a4 (diff)
Merge branch 'indirection' of git://reductivelabs.com/puppet-luke
Diffstat (limited to 'spec/unit/parser')
-rwxr-xr-xspec/unit/parser/interpreter.rb4
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)