Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-28 21:08:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-28 21:08:00 +0300
commitff82d09c6a72dc280aed1bba50553e7f1f169f0f (patch)
tree13c41cacb07b0bff84536235e3d77d9db057d8c2 /.rubocop.yml
parent24623a974348595d33cc9be6881b285a026ff13b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index dcd66eeea92..2a2f6102dfe 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -274,6 +274,11 @@ Naming/FileName:
- XSS
- GRPC
+# Check for the use of before with let_it_be when using "add_role" methods
+# e.g. add_guest, add_reporter, add_developer
+RSpec/BeforeAllRoleAssignment:
+ Enabled: true
+
Rails/ApplicationRecord:
Enabled: true
Exclude: