Skip to content

Commit

Permalink
Fix / igrone remaining rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Dec 26, 2022
1 parent c46bbdb commit fcb5d75
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/broker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
user_shell = '/usr/sbin/nologin'
end

# rubocop:disable RSpec/RepeatedExampleGroupBody
describe 'kafka::broker' do
it 'works with no errors' do
pp = <<-EOS
Expand Down Expand Up @@ -172,9 +173,7 @@ class { 'kafka::broker':
it { is_expected.to be_enabled }
end
end
end

describe 'kafka::broker::service' do
context 'with log4j/jmx parameters' do
it 'works with no errors' do
pp = <<-EOS
Expand Down Expand Up @@ -226,3 +225,4 @@ class { 'kafka::broker':
end
end
end
# rubocop:enable RSpec/RepeatedExampleGroupBody
4 changes: 2 additions & 2 deletions spec/acceptance/consumer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
user_shell = '/usr/sbin/nologin'
end

# rubocop:disable RSpec/RepeatedExampleGroupBody
describe 'kafka::consumer' do
it 'works with no errors' do
pp = <<-EOS
Expand Down Expand Up @@ -100,9 +101,7 @@ class { 'kafka::consumer':
it { is_expected.to be_grouped_into 'kafka' }
end
end
end

describe 'kafka::consumer::config' do
context 'with custom config_dir' do
it 'works with no errors' do
pp = <<-EOS
Expand Down Expand Up @@ -165,3 +164,4 @@ class { 'kafka::consumer':
end
end
end
# rubocop:enable RSpec/RepeatedExampleGroupBody
2 changes: 2 additions & 0 deletions spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
user_shell = '/usr/sbin/nologin'
end

# rubocop:disable RSpec/RepeatedExampleGroupBody
describe 'kafka' do
it 'works with no errors' do
pp = <<-EOS
Expand Down Expand Up @@ -219,3 +220,4 @@ class { 'kafka':
end
end
end
# rubocop:enable RSpec/RepeatedExampleGroupBody
2 changes: 2 additions & 0 deletions spec/acceptance/mirror_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
user_shell = '/usr/sbin/nologin'
end

# rubocop:disable RSpec/RepeatedExampleGroupBody
describe 'kafka::mirror' do
it 'works with no errors' do
pp = <<-EOS
Expand Down Expand Up @@ -243,3 +244,4 @@ class { 'kafka::mirror':
end
end
end
# rubocop:enable RSpec/RepeatedExampleGroupBody

0 comments on commit fcb5d75

Please sign in to comment.