# File lib/rspec-puppet/matchers/type_matchers.rb, line 94 def be_valid_resource(type, title, params) params[:name] ||= title type.new(params) end