Skip to content

Commit

Permalink
(CONT-773) Rubocop Manual Fix 3 - Lint/BooleanSymbol
Browse files Browse the repository at this point in the history
  • Loading branch information
david22swan committed Apr 26, 2023
1 parent bf4738d commit a0fed96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/BooleanSymbol:
Exclude:
- 'spec/unit/puppet/type/apt_key_spec.rb'

# Offense count: 3
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/puppet/type/apt_key_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
Puppet::Type.type(:apt_key).new(id: 'EF8D349F',
source: 'http://apt.puppetlabs.com/pubkey.gpg',
ensure: :absent,
refresh: :true)
refresh: true)
}.to raise_error(%r{ensure => absent and refresh => true are mutually exclusive})
end

Expand Down

0 comments on commit a0fed96

Please sign in to comment.