Skip to content

Commit c0cffcc

Browse files
committed
(CONT-786) Rubocop Manual Fix 3 - RSpec/RepeatedExampleGroupDescription
1 parent 063a900 commit c0cffcc

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,6 @@ RSpec/NoExpectationExample:
146146
Exclude:
147147
- 'spec/acceptance/kubernetes_spec.rb'
148148

149-
# Offense count: 7
150-
RSpec/RepeatedExampleGroupDescription:
151-
Exclude:
152-
- 'spec/classes/config/kubeadm_spec.rb'
153-
154149
# Offense count: 1
155150
Style/CombinableLoops:
156151
Exclude:

spec/classes/config/kubeadm_spec.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
}
323323
end
324324

325-
context 'with version = 1.14' do
325+
context 'with version = 1.14 - apiserver_extra_arguments' do
326326
let(:params) do
327327
{
328328
'kubernetes_version' => '1.14.1',
@@ -343,7 +343,7 @@
343343
end
344344
end
345345

346-
context 'with version = 1.14' do
346+
context 'with version = 1.14 - controllermanager_extra_arguments' do
347347
let(:params) do
348348
{
349349
'kubernetes_version' => '1.14.1',
@@ -364,7 +364,7 @@
364364
end
365365
end
366366

367-
context 'with version = 1.14' do
367+
context 'with version = 1.14 - scheduler_extra_arguments' do
368368
let(:params) do
369369
{
370370
'kubernetes_version' => '1.14.1',
@@ -385,7 +385,7 @@
385385
end
386386
end
387387

388-
context 'with version = 1.14' do
388+
context 'with version = 1.14 - apiserver_extra_volumes' do
389389
let(:params) do
390390
{
391391
'kubernetes_version' => '1.14.1',
@@ -409,7 +409,7 @@
409409
end
410410
end
411411

412-
context 'with version = 1.14' do
412+
context 'with version = 1.14 - controllermanager_extra_volumes' do
413413
let(:params) do
414414
{
415415
'kubernetes_version' => '1.14.1',
@@ -433,7 +433,7 @@
433433
end
434434
end
435435

436-
context 'with version = 1.14' do
436+
context 'with version = 1.14 - controller_address' do
437437
let(:params) do
438438
{
439439
'kubernetes_version' => '1.14.1',
@@ -450,7 +450,7 @@
450450
end
451451
end
452452

453-
context 'with version = 1.14' do
453+
context 'with version = 1.14 - proxy_mode' do
454454
let(:params) do
455455
{
456456
'kubernetes_version' => '1.14.2',

0 commit comments

Comments
 (0)