Skip to content

Commit d13c35f

Browse files
author
jordanbreen28
committed
(CONT-792) - Correct Style/CommentedKeyword
1 parent 858bb6f commit d13c35f

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.rubocop_todo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ Style/ClassAndModuleChildren:
160160
Exclude:
161161
- 'lib/puppet/util/postgresql_validator.rb'
162162

163-
# Offense count: 1
164-
# This cop supports unsafe autocorrection (--autocorrect-all).
165-
Style/CommentedKeyword:
166-
Exclude:
167-
- 'spec/acceptance/server/reassign_owned_by_spec.rb'
163+
# # Offense count: 1
164+
# # This cop supports unsafe autocorrection (--autocorrect-all).
165+
# Style/CommentedKeyword:
166+
# Exclude:
167+
# - 'spec/acceptance/server/reassign_owned_by_spec.rb'
168168

169169
# Offense count: 1
170170
# This cop supports unsafe autocorrection (--autocorrect-all).

spec/acceptance/server/reassign_owned_by_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class { 'postgresql::server': }
126126
end
127127
end
128128
end
129-
end # it should reassign all objects
129+
end
130130
end
131131
end
132132
#####################

spec/unit/puppet/type/postgresql_psql_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
end
8181
end
8282

83-
# rubocop:disable RSpec/NamedSubject
8483
# rubocop:disable RSpec/SubjectStub
8584
describe '#command' do
8685
let(:attributes) { { command: 'SELECT stuff' } }

spec/unit/puppet/type/postgresql_replication_slot_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
end
99

1010
it 'has a name parameter' do
11-
expect(subject[:name]).to eq 'standby' # rubocop:disable RSpec/NamedSubject
11+
expect(subject[:name]).to eq 'standby'
1212
end
1313
end

0 commit comments

Comments
 (0)