summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/min_spec.rb
AgeCommit message (Collapse)Author
2014-05-08Move unit tests to spec/functionsHunter Haugen
rspec-puppet matchers are defined for tests which exist in spec/functions, but the function unit tests lived in spec/unit/puppet/parser/functions. This moves them to the correct place for using rspec-puppet
2013-03-27Allow comparisons of Numeric and number as StringErik Dalén
Puppet passes numbers as String to functions, but it makes more sense to compare them as Numeric. But sometimes Puppet passes them as the wrong type, see: https://projects.puppetlabs.com/issues/19812
2012-11-26(#17797) min() and max() functionsErik Dalén
returns the min or max of all arguments given to them