Skip to content

Commit 3503ad8

Browse files
smortexbastelfreak
authored andcommitted
Fix / igrone remaining rubocop offenses
1 parent 03e4227 commit 3503ad8

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

spec/acceptance/broker_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
user_shell = '/usr/sbin/nologin'
1010
end
1111

12+
# rubocop:disable RSpec/RepeatedExampleGroupBody
1213
describe 'kafka::broker' do
1314
it 'works with no errors' do
1415
pp = <<-EOS
@@ -172,9 +173,7 @@ class { 'kafka::broker':
172173
it { is_expected.to be_enabled }
173174
end
174175
end
175-
end
176176

177-
describe 'kafka::broker::service' do
178177
context 'with log4j/jmx parameters' do
179178
it 'works with no errors' do
180179
pp = <<-EOS
@@ -226,3 +225,4 @@ class { 'kafka::broker':
226225
end
227226
end
228227
end
228+
# rubocop:enable RSpec/RepeatedExampleGroupBody

spec/acceptance/consumer_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
user_shell = '/usr/sbin/nologin'
1010
end
1111

12+
# rubocop:disable RSpec/RepeatedExampleGroupBody
1213
describe 'kafka::consumer' do
1314
it 'works with no errors' do
1415
pp = <<-EOS
@@ -100,9 +101,7 @@ class { 'kafka::consumer':
100101
it { is_expected.to be_grouped_into 'kafka' }
101102
end
102103
end
103-
end
104104

105-
describe 'kafka::consumer::config' do
106105
context 'with custom config_dir' do
107106
it 'works with no errors' do
108107
pp = <<-EOS
@@ -165,3 +164,4 @@ class { 'kafka::consumer':
165164
end
166165
end
167166
end
167+
# rubocop:enable RSpec/RepeatedExampleGroupBody

spec/acceptance/init_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
user_shell = '/usr/sbin/nologin'
1010
end
1111

12+
# rubocop:disable RSpec/RepeatedExampleGroupBody
1213
describe 'kafka' do
1314
it 'works with no errors' do
1415
pp = <<-EOS
@@ -219,3 +220,4 @@ class { 'kafka':
219220
end
220221
end
221222
end
223+
# rubocop:enable RSpec/RepeatedExampleGroupBody

spec/acceptance/mirror_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
user_shell = '/usr/sbin/nologin'
1010
end
1111

12+
# rubocop:disable RSpec/RepeatedExampleGroupBody
1213
describe 'kafka::mirror' do
1314
it 'works with no errors' do
1415
pp = <<-EOS
@@ -243,3 +244,4 @@ class { 'kafka::mirror':
243244
end
244245
end
245246
end
247+
# rubocop:enable RSpec/RepeatedExampleGroupBody

0 commit comments

Comments
 (0)