Do not query for the exact facter version #62
Annotations
3 errors
rubocop:
spec/rspec_puppet_facts_spec.rb#L857
Lint/AmbiguousBlockAssociation: Parenthesize the param `receive(:get_facts).with(
{:operatingsystem=>"CentOS", :operatingsystemrelease=>"/^7/", :hardwaremodel=>"x86_64"}
).and_wrap_original { |m, *args| m.call(*args).reject { |facts| facts[:facterversion].start_with?('3.9.') } }` to make sure that the block will be associated with the `receive(:get_facts).with(
{:operatingsystem=>"CentOS", :operatingsystemrelease=>"/^7/", :hardwaremodel=>"x86_64"}
).and_wrap_original` method call. (https://rubystyle.guide#syntax)
|
rubocop:
spec/rspec_puppet_facts_spec.rb#L858
Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call. (https://rubystyle.guide#no-trailing-params-comma)
|
rubocop
Process completed with exit code 1.
|