diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-17 15:09:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-17 15:09:20 +0300 |
commit | 6b97ea1f8008a7ddb22b1faa03496cf46c546c05 (patch) | |
tree | 944c51ba3a245ab478efb74c11b838646f2a4581 /spec/policies | |
parent | 6bbf310347d4b857b111bc3b54e8a16e2e2e61c7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/group_policy_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/policies/group_policy_spec.rb b/spec/policies/group_policy_spec.rb index 05bba167bd3..c513baea517 100644 --- a/spec/policies/group_policy_spec.rb +++ b/spec/policies/group_policy_spec.rb @@ -1216,19 +1216,6 @@ RSpec.describe GroupPolicy do end end - context 'with customer relations feature flag disabled' do - let(:current_user) { owner } - - before do - stub_feature_flags(customer_relations: false) - end - - it { is_expected.to be_disallowed(:read_crm_contact) } - it { is_expected.to be_disallowed(:read_crm_organization) } - it { is_expected.to be_disallowed(:admin_crm_contact) } - it { is_expected.to be_disallowed(:admin_crm_organization) } - end - context 'when crm_enabled is false' do let(:current_user) { owner } |