Zfilipin has uploaded a new change for review. https://gerrit.wikimedia.org/r/251531
Change subject: Fixed Lint/UnusedBlockArgument RuboCop offense ...................................................................... Fixed Lint/UnusedBlockArgument RuboCop offense Bug: T117987 Change-Id: I5b8347dcc35fc87ae3aa1be06b0b385792a0c203 --- M .rubocop_todo.yml M tests/browser/features/support/hooks.rb 2 files changed, 1 insertion(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/31/251531/1 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1467c18..51cad91 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -7,12 +7,6 @@ # versions of RuboCop, may require this file to be generated again. # Offense count: 1 -# Cop supports --auto-correct. -Lint/UnusedBlockArgument: - Exclude: - - 'tests/browser/features/support/hooks.rb' - -# Offense count: 1 Lint/UselessAssignment: Exclude: - 'tests/browser/features/support/pages/manage_translator_sandbox_page.rb' diff --git a/tests/browser/features/support/hooks.rb b/tests/browser/features/support/hooks.rb index ce657f4..d970eaa 100644 --- a/tests/browser/features/support/hooks.rb +++ b/tests/browser/features/support/hooks.rb @@ -1,3 +1,3 @@ -After("@stash") do |scenario| +After("@stash") do |_scenario| visit(StashPage, :using_params => {:extra => "integrationtesting=deactivatestash"}) end -- To view, visit https://gerrit.wikimedia.org/r/251531 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5b8347dcc35fc87ae3aa1be06b0b385792a0c203 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate 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