File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
unit/puppet/provider/postgresql_replication_slot Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -71,15 +71,6 @@ RSpec/ContextWording:
71
71
RSpec/DescribeClass :
72
72
Enabled : false
73
73
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
-
83
74
# Offense count: 42
84
75
# Configuration parameters: CountAsOne.
85
76
RSpec/ExampleLength :
Original file line number Diff line number Diff line change 7
7
before ( :all ) do
8
8
pre_run
9
9
end
10
+
10
11
after ( :all ) do
11
12
pp = <<-MANIFEST . unindent
12
13
file { '/tmp/recovery.conf':
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def | | physical | | | t | | | 0/
37
37
'postgres' , 'postgres'
38
38
) . and_return ( [ sql_instances , nil ] )
39
39
end
40
+
40
41
let ( :attributes ) { { } }
41
42
let ( :instances ) { provider . class . instances }
42
43
let ( :expected ) { [ 'abc' , 'def' ] }
You can’t perform that action at this time.
0 commit comments