Stan has uploaded a new change for review.

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

Change subject: remove space inside empty braces (per rubocop)
......................................................................

remove space inside empty braces (per rubocop)

Bug: T75898
Change-Id: Icbe47641d0ab7a35fda706271de1de383c983b85
---
M .rubocop_todo.yml
M spec/browser_factory/base_spec.rb
2 files changed, 2 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/selenium 
refs/changes/63/179463/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 9cb7837..8c0c5b5 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: 2
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles, 
EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
-Style/SpaceInsideBlockBraces:
-  Enabled: true
-
 # Offense count: 1
 # Cop supports --auto-correct.
 # Configuration parameters: IgnoredMethods.
diff --git a/spec/browser_factory/base_spec.rb 
b/spec/browser_factory/base_spec.rb
index 054fc31..a9b71bd 100644
--- a/spec/browser_factory/base_spec.rb
+++ b/spec/browser_factory/base_spec.rb
@@ -12,7 +12,7 @@
         subject { factory_class.bind(option_name, &block) }
 
         let(:option_name) { :foo }
-        let(:block) { proc { } }
+        let(:block) { proc {} }
 
         it 'adds a new default binding for the given option' do
           subject
@@ -76,7 +76,7 @@
         before { subject }
 
         let(:option_name) { :foo }
-        let(:block) { proc { } }
+        let(:block) { proc {} }
 
         it 'adds a new binding for the given option' do
           expect(factory.bindings).to include(option_name)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icbe47641d0ab7a35fda706271de1de383c983b85
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/selenium
Gerrit-Branch: master
Gerrit-Owner: Stan <tris...@saticed.me.uk>

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

Reply via email to