diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-01 09:12:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-01 09:12:22 +0300 |
commit | 712bbb451d1cb52dc6fac04ac0e13feeaaa765bf (patch) | |
tree | 7b919f3c9dd75fabba03674a492a69f956acdcee /spec/policies | |
parent | b0ad241fbbdf6a9d4ccb6f44f2c233d542b3b08d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/project_policy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/policies/project_policy_spec.rb b/spec/policies/project_policy_spec.rb index 67adcae1dd9..bf845d04e27 100644 --- a/spec/policies/project_policy_spec.rb +++ b/spec/policies/project_policy_spec.rb @@ -2341,7 +2341,7 @@ RSpec.describe ProjectPolicy, feature_category: :system_access do end describe 'access_security_and_compliance' do - context 'when the "Security & Compliance" is enabled' do + context 'when the "Security and Compliance" is enabled' do before do project.project_feature.update!(security_and_compliance_access_level: Featurable::PRIVATE) end @@ -2387,7 +2387,7 @@ RSpec.describe ProjectPolicy, feature_category: :system_access do end end - context 'when the "Security & Compliance" is not enabled' do + context 'when the "Security and Compliance" is not enabled' do before do project.project_feature.update!(security_and_compliance_access_level: Featurable::DISABLED) end |