Zfilipin has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/171747

Change subject: QA: Fixed Style/BracesAroundHashParameters RoboCop offense
......................................................................

QA: Fixed Style/BracesAroundHashParameters RoboCop offense

Change-Id: If65266746a598a73908b63afeaf54eabd7cb1057
Paired-With: Chris McMahon
Bug: 63307
---
M .rubocop_todo.yml
M tests/browser/features/step_definitions/flow_no_javascript_steps.rb
2 files changed, 1 insertion(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/47/171747/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 575983d..284697d 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -11,12 +11,6 @@
   Max: 224
 
 # Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/BracesAroundHashParameters:
-  Enabled: false
-
-# Offense count: 1
 # Configuration parameters: Keywords.
 Style/CommentAnnotation:
   Enabled: false
diff --git 
a/tests/browser/features/step_definitions/flow_no_javascript_steps.rb 
b/tests/browser/features/step_definitions/flow_no_javascript_steps.rb
index d10f567..d17999c 100644
--- a/tests/browser/features/step_definitions/flow_no_javascript_steps.rb
+++ b/tests/browser/features/step_definitions/flow_no_javascript_steps.rb
@@ -2,7 +2,7 @@
   # Using IE5 user agent which is currently blocked by ResourceLoader
   user_agent = "Mozilla/4.0 (compatible; MSIE 5.5b1; Mac_PowerPC)"
   @user_agent = user_agent
-  @browser = browser(test_name(@scenario), {user_agent: user_agent})
+  @browser = browser(test_name(@scenario), user_agent: user_agent)
   $session_id = @browser.driver.instance_variable_get(:@bridge).session_id
 end
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If65266746a598a73908b63afeaf54eabd7cb1057
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to