jenkins-bot has submitted this change and it was merged.

Change subject: Fixed Style/AlignParameters RuboCop offense
......................................................................


Fixed Style/AlignParameters RuboCop offense

Bug: T94401
Change-Id: Ia3ae40105f7327b58eb8ce00304e6257a2a0c06c
---
M .rubocop_todo.yml
M tests/browser/features/step_definitions/login_steps.rb
2 files changed, 4 insertions(+), 8 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 97ed22d..0205672 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -5,12 +5,6 @@
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/AlignParameters:
-  Enabled: false
-
 # Offense count: 2
 # Cop supports --auto-correct.
 Style/LeadingCommentSpace:
diff --git a/tests/browser/features/step_definitions/login_steps.rb 
b/tests/browser/features/step_definitions/login_steps.rb
index f2cbde8..55b36a5 100644
--- a/tests/browser/features/step_definitions/login_steps.rb
+++ b/tests/browser/features/step_definitions/login_steps.rb
@@ -1,6 +1,8 @@
 Given(/^I am using a global account$/) do
-  expect(api.meta('globaluserinfo').data).to_not include('missing'),
-    'the current acccount is not global'
+  expect(api.meta('globaluserinfo').data).to_not(
+      include('missing'),
+      'the current acccount is not global'
+  )
 end
 
 Given(/^I am logged in to the primary wiki domain$/) do

-- 
To view, visit https://gerrit.wikimedia.org/r/200558
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia3ae40105f7327b58eb8ce00304e6257a2a0c06c
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Dduvall <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to