diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 14:10:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 14:10:13 +0300 |
commit | 0ea3fcec397b69815975647f5e2aa5fe944a8486 (patch) | |
tree | 7979381b89d26011bcf9bdc989a40fcc2f1ed4ff /spec/graphql/mutations/customer_relations/contacts/update_spec.rb | |
parent | 72123183a20411a36d607d70b12d57c484394c8e (diff) |
Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42
Diffstat (limited to 'spec/graphql/mutations/customer_relations/contacts/update_spec.rb')
-rw-r--r-- | spec/graphql/mutations/customer_relations/contacts/update_spec.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/graphql/mutations/customer_relations/contacts/update_spec.rb b/spec/graphql/mutations/customer_relations/contacts/update_spec.rb index c8206eca442..421bb4f1b06 100644 --- a/spec/graphql/mutations/customer_relations/contacts/update_spec.rb +++ b/spec/graphql/mutations/customer_relations/contacts/update_spec.rb @@ -57,17 +57,6 @@ RSpec.describe Mutations::CustomerRelations::Contacts::Update do it 'updates the organization with correct values' do expect(resolve_mutation[:contact]).to have_attributes(attributes) end - - context 'when the feature is disabled' do - before do - stub_feature_flags(customer_relations: false) - end - - it 'raises an error' do - expect { resolve_mutation }.to raise_error(Gitlab::Graphql::Errors::ResourceNotAvailable) - .with_message("The resource that you are attempting to access does not exist or you don't have permission to perform this action") - end - end end end |