summaryrefslogtreecommitdiff
path: root/spec/integration/parser/undef_param_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2012-09-25Stub DataBinding in undef param testsPatrick Carlisle1-0/+6
This was causing failures when hiera was not configured properly since we aren't trying to test hiera in these tests.
2012-09-24Extract methods from set_default_parameters and improve test coveragePatrick Carlisle1-59/+52
Refactor the set_default_parameters method in Puppet::Resource to be split into several methods and improve the test coverage around default parameters and undef.
2012-09-24(#16221) Make undef not override default parametersPatrick Carlisle1-3/+3
In 2.7.x, passing undef as an argument to a parameterized class will result in the argument using the default value given in the class definition. This was inadvertently changed, so the variable would not be set at all. This change reverts to the 2.7.x behavior.
2012-09-19(Maint) Add tests of passing undef as parameter.Henrik Lindberg1-0/+88
The semantics of passing undef has changed from 2.7, to 3.x. These tests assert that the behavior is the expected behavior of 3.x. Reviewed-by: Jeff McCune <jeff@puppetlabs.com>