Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-15 | (#3) Add simple unit test for anchor type | Jeff McCune | |
Unlike the whit type the anchor type derives from, we are not hacking the stringify method. We expect the resource to be named simply Anchor[foo::bar] where the name is "foo::bar". | |||
2011-06-03 | Add additional tests to validate_bool() spec | Jeff McCune | |
2011-06-03 | Add spec test for validate_bool function | Jeff McCune | |
This is an interesting spec test for module developers. It illustrates how to cause Puppet to test the function from the Puppet DSL rather than the Ruby DSL, fully exercising the system from the perspective of the end user. (Note how Puppet[:code] is set, then the scope reset, then the compile method called.) Paired-with: Dan Bode <dan@puppetlabs.com> |