diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-20 18:09:31 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-20 18:09:31 +0000 |
commit | ae4ef81757bdd2c984777d8f0b2c275bbcb4b17d (patch) | |
tree | 1ac23c80190bafb47a1f5a6f1aae9da91d35d9dc /spec/requests/api/graphql_spec.rb | |
parent | 194b499aa8e26df26ff70a1e1ce0396587bd5243 (diff) | |
download | gitlab-ce-ae4ef81757bdd2c984777d8f0b2c275bbcb4b17d.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api/graphql_spec.rb')
-rw-r--r-- | spec/requests/api/graphql_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/requests/api/graphql_spec.rb b/spec/requests/api/graphql_spec.rb index 92c5c52be7d..783dd730dd9 100644 --- a/spec/requests/api/graphql_spec.rb +++ b/spec/requests/api/graphql_spec.rb @@ -165,7 +165,6 @@ describe 'GraphQL' do before do stub_const('GitlabSchema::DEFAULT_MAX_COMPLEXITY', 6) - stub_feature_flags(graphql_resolver_complexity: true) end context 'when fetching single resource' do @@ -186,18 +185,6 @@ describe 'GraphQL' do expect_graphql_errors_to_include(/which exceeds max complexity/) end - - context 'when graphql_resolver_complexity is disabled' do - before do - stub_feature_flags(graphql_resolver_complexity: false) - end - - it 'processes the query' do - post_graphql(query) - - expect(graphql_errors).to be_nil - end - end end end end |