summaryrefslogtreecommitdiff
path: root/spec/unit/parser/ast/resourceparam_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2013-11-09(#23115) Convert nil resource parameter values to undefDominic Cleal1-0/+8
If a resource parameter evaluates to nil (e.g. a return value from a parser function), then convert the value to undef. This prevents an error in Puppet::Parser::Resource::Param which requires a non-nil value on instantiation.
2013-11-09(maint) Add specs for parser resource parametersDominic Cleal1-0/+43
Classes Puppet::Parser::AST::ResourceParam and Puppet::Parser::Resource::Param