Created
November 26, 2008 18:08
-
-
Save thommay/29464 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment