Is this method really necessary? It seems like it's fine to just put `Array.new(n) { object }` where it is used and it seems dirty to be defining normal methods in a spec.