Commit 6c31b607 authored by Semyon Pupkov's avatar Semyon Pupkov

Fix SpaceBeforeFirstArg cop

parent 7d6c6638
......@@ -53,20 +53,6 @@ Layout/IndentArray:
Layout/IndentHash:
Enabled: false
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Layout/SpaceBeforeFirstArg:
Exclude:
- 'config/routes/project.rb'
- 'db/migrate/20170506185517_add_foreign_key_pipeline_schedules_and_pipelines.rb'
- 'features/steps/project/source/browse_files.rb'
- 'features/steps/project/source/markdown_render.rb'
- 'lib/api/runners.rb'
- 'spec/features/search/user_uses_search_filters_spec.rb'
- 'spec/routing/project_routing_spec.rb'
- 'spec/services/system_note_service_spec.rb'
# Offense count: 93
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
......
......@@ -14,7 +14,7 @@ describe 'User uses search filters', :js do
visit(search_path)
end
context' when filtering by group' do
context 'when filtering by group' do
it 'shows group projects' do
find('.js-search-group-dropdown').click
......@@ -36,7 +36,7 @@ describe 'User uses search filters', :js do
end
end
context' when filtering by project' do
context 'when filtering by project' do
it 'shows a project' do
page.within('.project-filter') do
find('.js-search-project-dropdown').click
......
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