File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
spec/unit/puppet/provider/postgresql_psql Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -59,18 +59,6 @@ Naming/HeredocDelimiterNaming:
59
59
- ' spec/defines/server/default_privileges_spec.rb'
60
60
- ' spec/defines/server/grant_spec.rb'
61
61
62
- # Offense count: 3
63
- # This cop supports unsafe autocorrection (--autocorrect-all).
64
- # RSpec/BeEq:
65
- # Exclude:
66
- # - 'spec/functions/postgresql_postgresql_acls_to_resources_hash_spec.rb'
67
- # - 'spec/spec_helper_local.rb'
68
-
69
- # Offense count: 2
70
- # This cop supports safe autocorrection (--autocorrect).
71
- RSpec/ContextMethod :
72
- Exclude :
73
- - ' spec/unit/puppet/provider/postgresql_psql/ruby_spec.rb'
74
62
75
63
# Offense count: 104
76
64
# Configuration parameters: Prefixes, AllowedPatterns.
Original file line number Diff line number Diff line change 9
9
end
10
10
let ( :provider ) { resource . provider }
11
11
12
- context ( '#run_sql_command' ) do
12
+ describe ( '#run_sql_command' ) do
13
13
describe 'with default attributes' do
14
14
let ( :attributes ) { { db : 'spec_db' } }
15
15
98
98
end
99
99
end
100
100
101
- context ( '#run_unless_sql_command' ) do
101
+ describe ( '#run_unless_sql_command' ) do
102
102
let ( :attributes ) { { } }
103
103
104
104
it 'calls #run_sql_command with SQL' do
You can’t perform that action at this time.
0 commit comments