| Class | RSpec::Puppet::ManifestMatchers::ParameterMatcher |
| In: |
lib/rspec-puppet/matchers/parameter_matcher.rb
|
| Parent: | Object |
| errors | [R] |
@!attribute [r] errors
@return [Array<Object < StandardError>] All expectation errors
generated on this parameter.
|
@param parameter [Symbol] The specific parameter to check @param value [Object] The expected data to match the parameter against @param type [:should, :not] Whether the given parameter should match
Ensure that the actual parameter matches the expected parameter.
@param resource [Hash<Symbol, Object>] A hash representing a Puppet
resource in the catalog
@return [true, false]