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/fake_query_type.rb')
-rw-r--r--spec/support/graphql/fake_query_type.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/support/graphql/fake_query_type.rb b/spec/support/graphql/fake_query_type.rb
deleted file mode 100644
index 18cf2cf3e82..00000000000
--- a/spec/support/graphql/fake_query_type.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-require 'graphql'
-
-module Graphql
- class FakeQueryType < ::GraphQL::Schema::Object
- graphql_name 'FakeQuery'
-
- field :hello_world, String, null: true do
- argument :message, String, required: false
- end
-
- field :breaking_field, String, null: true
-
- def hello_world(message: "world")
- "Hello #{message}!"
- end
-
- def breaking_field
- raise "This field is supposed to break"
- end
- end
-end