Skip to content

Commit c598e08

Browse files
author
jordanbreen28
committed
(CONT-792) - Correct RSpec/EmptyLineAfterHook
1 parent 758ea2c commit c598e08

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,6 @@ RSpec/ContextWording:
7171
RSpec/DescribeClass:
7272
Enabled: false
7373

74-
75-
# Offense count: 2
76-
# This cop supports safe autocorrection (--autocorrect).
77-
# Configuration parameters: AllowConsecutiveOneLiners.
78-
RSpec/EmptyLineAfterHook:
79-
Exclude:
80-
- 'spec/acceptance/server/recovery_spec.rb'
81-
- 'spec/unit/puppet/provider/postgresql_replication_slot/ruby_spec.rb'
82-
8374
# Offense count: 42
8475
# Configuration parameters: CountAsOne.
8576
RSpec/ExampleLength:

spec/acceptance/server/recovery_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
before(:all) do
88
pre_run
99
end
10+
1011
after(:all) do
1112
pp = <<-MANIFEST.unindent
1213
file { '/tmp/recovery.conf':

spec/unit/puppet/provider/postgresql_replication_slot/ruby_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def | | physical | | | t | | | 0/
3737
'postgres', 'postgres'
3838
).and_return([sql_instances, nil])
3939
end
40+
4041
let(:attributes) { {} }
4142
let(:instances) { provider.class.instances }
4243
let(:expected) { ['abc', 'def'] }

0 commit comments

Comments
 (0)