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
e83fd388
Commit
e83fd388
authored
Mar 26, 2020
by
Igor Drozdov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable RSpec/RepeatedExample cop
This cop checks for repeated examples within example groups
parent
f7ec54f7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
4 deletions
+36
-4
.rubocop.yml
.rubocop.yml
+36
-0
.rubocop_todo.yml
.rubocop_todo.yml
+0
-4
No files found.
.rubocop.yml
View file @
e83fd388
...
...
@@ -382,3 +382,39 @@ Cop/BanCatchThrow:
Performance/ReadlinesEach
:
Enabled
:
true
# https://gitlab.com/gitlab-org/gitlab/-/issues/212541
RSpec/RepeatedExample
:
Exclude
:
-
'
spec/features/issues/filtered_search/filter_issues_spec.rb'
-
'
spec/features/merge_request/user_posts_diff_notes_spec.rb'
-
'
spec/features/projects/files/template_type_dropdown_spec.rb'
-
'
spec/finders/environments_finder_spec.rb'
-
'
spec/frontend/fixtures/merge_requests.rb'
-
'
spec/graphql/gitlab_schema_spec.rb'
-
'
spec/helpers/users_helper_spec.rb'
-
'
spec/lib/banzai/filter/autolink_filter_spec.rb'
-
'
spec/lib/banzai/filter/issuable_state_filter_spec.rb'
-
'
spec/lib/gitlab/closing_issue_extractor_spec.rb'
-
'
spec/lib/gitlab/danger/changelog_spec.rb'
-
'
spec/lib/gitlab/git/blob_spec.rb'
-
'
spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
-
'
spec/models/ability_spec.rb'
-
'
spec/models/ci/build_spec.rb'
-
'
spec/models/concerns/issuable_spec.rb'
-
'
spec/models/concerns/prometheus_adapter_spec.rb'
-
'
spec/models/member_spec.rb'
-
'
spec/models/project_services/chat_message/pipeline_message_spec.rb'
-
'
spec/models/user_spec.rb'
-
'
spec/models/wiki_page_spec.rb'
-
'
spec/requests/api/merge_requests_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
-
'
spec/rubocop/cop/migration/update_large_table_spec.rb'
-
'
spec/services/notification_service_spec.rb'
-
'
spec/services/web_hook_service_spec.rb'
-
'
ee/spec/models/group_spec.rb'
-
'
ee/spec/models/user_spec.rb'
-
'
ee/spec/requests/api/merge_request_approvals_spec.rb'
-
'
ee/spec/services/boards/lists/update_service_spec.rb'
-
'
ee/spec/services/geo/repository_verification_primary_service_spec.rb'
-
'
ee/spec/workers/geo/file_download_dispatch_worker_spec.rb'
.rubocop_todo.yml
View file @
e83fd388
...
...
@@ -251,10 +251,6 @@ RSpec/LetBeforeExamples:
RSpec/PredicateMatcher
:
Enabled
:
false
# Offense count: 69
RSpec/RepeatedExample
:
Enabled
:
false
# Offense count: 584
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
...
...
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