diff options
Diffstat (limited to 'spec/unit/parser/files.rb')
-rw-r--r-- | spec/unit/parser/files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/files.rb b/spec/unit/parser/files.rb index 2c91ea7e4..7aa1a34f5 100644 --- a/spec/unit/parser/files.rb +++ b/spec/unit/parser/files.rb @@ -26,7 +26,7 @@ describe Puppet::Parser::Files do mod.expects(:template).returns("/one/mymod/templates/mytemplate") Puppet::Parser::Files.find_template("mymod/mytemplate").should == "/one/mymod/templates/mytemplate" end - + it "should return the file in the templatedir if it exists" do Puppet.settings.expects(:value).with(:templatedir, nil).returns("/my/templates") Puppet[:modulepath] = "/one:/two" |