Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/graphql/negatable_arguments_spec.rb')
-rw-r--r--spec/lib/gitlab/graphql/negatable_arguments_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/gitlab/graphql/negatable_arguments_spec.rb b/spec/lib/gitlab/graphql/negatable_arguments_spec.rb
index 71ef75836c0..04ee1c1b820 100644
--- a/spec/lib/gitlab/graphql/negatable_arguments_spec.rb
+++ b/spec/lib/gitlab/graphql/negatable_arguments_spec.rb
@@ -25,7 +25,9 @@ RSpec.describe Gitlab::Graphql::NegatableArguments do
expect(test_resolver.arguments['not'].type.arguments.keys).to match_array(['foo'])
end
- it 'defines all arguments passed as block even if called multiple times' do
+ # TODO: suffers from the `DuplicateNamesError` error. skip until we upgrade
+ # to the graphql 2.0 gem https://gitlab.com/gitlab-org/gitlab/-/issues/363131
+ xit 'defines all arguments passed as block even if called multiple times' do
test_resolver.negated do
argument :foo, GraphQL::Types::String, required: false
end