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
a80bf455
Commit
a80bf455
authored
Sep 02, 2020
by
Rajendra Kadam
Committed by
Rémy Coutable
Sep 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Layout/SpaceBeforeFirstArg cop
parent
18b62e5d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
.rubocop_todo.yml
.rubocop_todo.yml
+0
-8
changelogs/unreleased/space-before-first-arg.yml
changelogs/unreleased/space-before-first-arg.yml
+5
-0
spec/support/shared_examples/requests/api/custom_attributes_shared_examples.rb
...xamples/requests/api/custom_attributes_shared_examples.rb
+1
-1
No files found.
.rubocop_todo.yml
View file @
a80bf455
...
...
@@ -110,14 +110,6 @@ Layout/RescueEnsureAlignment:
Layout/SpaceAroundMethodCallOperator
:
Enabled
:
false
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Layout/SpaceBeforeFirstArg
:
Exclude
:
-
'
spec/requests/api/runner_spec.rb'
-
'
spec/support/shared_examples/requests/api/custom_attributes_shared_examples.rb'
# Offense count: 642
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
...
...
changelogs/unreleased/space-before-first-arg.yml
0 → 100644
View file @
a80bf455
---
title
:
Fix Layout/SpaceBeforeFirstArg cop
merge_request
:
41097
author
:
Rajendra Kadam
type
:
fixed
spec/support/shared_examples/requests/api/custom_attributes_shared_examples.rb
View file @
a80bf455
...
...
@@ -132,7 +132,7 @@ RSpec.shared_examples 'custom attributes endpoints' do |attributable_name|
end
context
'with an authorized user'
do
it
'returns a single custom attribute'
do
it
'returns a single custom attribute'
do
get
api
(
"/
#{
attributable_name
}
/
#{
attributable
.
id
}
/custom_attributes/foo"
,
admin
)
expect
(
response
).
to
have_gitlab_http_status
(
:ok
)
...
...
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