i cant recall properly, but i think i copied the pattern from @sethvargo resource_matcher in chefspec. I know this will allow procs or ranges but i dont think of an use case,  let me read a bit, i'll change it if i cant find any reason, https://github.com/sethvargo/chefspec/blob/master/lib/chefspec/matchers/resource_matcher.rb#L118