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/support/graphql/field_inspection.rb')
-rw-r--r--spec/support/graphql/field_inspection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/graphql/field_inspection.rb b/spec/support/graphql/field_inspection.rb
index e5fe37ec555..8730f82b893 100644
--- a/spec/support/graphql/field_inspection.rb
+++ b/spec/support/graphql/field_inspection.rb
@@ -20,7 +20,7 @@ module Graphql
def type
@type ||= begin
- field_type = @field.type.respond_to?(:to_graphql) ? @field.type.to_graphql : @field.type
+ field_type = @field.type
# The type could be nested. For example `[GraphQL::Types::String]`:
# - List