Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9155e2e9
Commit
9155e2e9
authored
Mar 24, 2022
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Link/SelfAssignment offense
parent
2667a582
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
.rubocop_todo.yml
.rubocop_todo.yml
+0
-5
spec/lib/gitlab/search_context/builder_spec.rb
spec/lib/gitlab/search_context/builder_spec.rb
+0
-1
No files found.
.rubocop_todo.yml
View file @
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
:
...
...
spec/lib/gitlab/search_context/builder_spec.rb
View file @
9155e2e9
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment