Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it "should accept relative templatedirs" do
- Puppet[:templatedir] = "my/templates"
- File.expects(:directory?).with(File.join(Dir.getwd,"my/templates")).returns(true)
- Puppet::Module.find_template("mytemplate").should == File.join(Dir.getwd,"my/templates/mytemplate")
- end
Add Comment
Please, Sign In to add comment