Guest User

Untitled

a guest
Feb 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. it "should accept relative templatedirs" do
  2. Puppet[:templatedir] = "my/templates"
  3. File.expects(:directory?).with(File.join(Dir.getwd,"my/templates")).returns(true)
  4. Puppet::Module.find_template("mytemplate").should == File.join(Dir.getwd,"my/templates/mytemplate")
  5. end
Add Comment
Please, Sign In to add comment