nwops/puppet-retrospec

parameters with a default value of arrays cause error

logicminds opened this issue · 1 comments

undefined method capitalize for ['value']:Array is caused when retrospec tries to create a test for a class with an array.

class foo(
  $param1 = ['default']
){

}

I suspect this might be a bug with the puppet version vendored in.