Remove superfluous cop let bindings in RuboCop specs
What does this MR do and why?
It's already done via RuboCop's :config
shared context and fails (see 1.50.2
. See !118393.
How to set up and validate locally
# This branch (RuboCop 1.43.0)
bin/rspec spec/rubocop
# https://gitlab.com/gitlab-org/gitlab/-/merge_requests/118399 (RuboCop 1.50.2)
bin/rspec spec/rubocop
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Leitzen