Commit 92444c67 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'space-before-first-arg' into 'master'

Fix Layout/SpaceBeforeFirstArg cop

See merge request gitlab-org/gitlab!41097
parents c707c915 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.
......
---
title: Fix Layout/SpaceBeforeFirstArg cop
merge_request: 41097
author: Rajendra Kadam
type: fixed
......@@ -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)
......
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