From ff82d09c6a72dc280aed1bba50553e7f1f169f0f Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 28 Jun 2023 18:08:00 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .rubocop.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.rubocop.yml') 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: -- cgit v1.2.3