Commit 29faa41c authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '239356-fix-Lint/SelfAssignment' into 'master'

Fix Link/SelfAssignment offense

See merge request gitlab-org/gitlab!83581
parents dae1bf72 9155e2e9
......@@ -107,11 +107,6 @@ Lint/MixedRegexpCaptureTypes:
Lint/RedundantCopDisableDirective:
Enabled: false
# Offense count: 1
Lint/SelfAssignment:
Exclude:
- 'spec/lib/gitlab/search_context/builder_spec.rb'
# Offense count: 3
Lint/StructNewOverride:
Exclude:
......
......@@ -43,7 +43,6 @@ RSpec.describe Gitlab::SearchContext::Builder, type: :controller do
def be_search_context(project: nil, group: nil, snippets: [], ref: nil)
group = project ? project.group : group
snippets.compact!
ref = ref
have_attributes(
project: project,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment