Skip to content

Commit a0fed96

Browse files
committed
(CONT-773) Rubocop Manual Fix 3 - Lint/BooleanSymbol
1 parent bf4738d commit a0fed96

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.rubocop_todo.yml

-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 1
10-
# This cop supports unsafe autocorrection (--autocorrect-all).
11-
Lint/BooleanSymbol:
12-
Exclude:
13-
- 'spec/unit/puppet/type/apt_key_spec.rb'
14-
159
# Offense count: 3
1610
# Configuration parameters: AllowedMethods.
1711
# AllowedMethods: enums

spec/unit/puppet/type/apt_key_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
Puppet::Type.type(:apt_key).new(id: 'EF8D349F',
168168
source: 'http://apt.puppetlabs.com/pubkey.gpg',
169169
ensure: :absent,
170-
refresh: :true)
170+
refresh: true)
171171
}.to raise_error(%r{ensure => absent and refresh => true are mutually exclusive})
172172
end
173173

0 commit comments

Comments
 (0)