Skip to content

Commit f13d4a7

Browse files
committed
fix test suite naming conflicts.
1 parent a221c9a commit f13d4a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/graphql/execution/breadth_runtime_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def prepare
9393
end
9494
end
9595

96-
class BaseField < GraphQL::Schema::Field
96+
class BreadthBaseField < GraphQL::Schema::Field
9797
def authorized?(obj, args, ctx)
9898
if !ctx[:field_auth].nil?
9999
ctx[:field_auth]
@@ -107,11 +107,11 @@ def authorized?(obj, args, ctx)
107107
end
108108
end
109109

110-
class BaseObject < GraphQL::Schema::Object
111-
field_class BaseField
110+
class BreadthBaseObject < GraphQL::Schema::Object
111+
field_class BreadthBaseField
112112
end
113113

114-
class Query < BaseObject
114+
class BreadthTestQuery < BreadthBaseObject
115115
field :foo, String
116116

117117
def foo
@@ -190,7 +190,7 @@ def extras(lookahead:)
190190

191191
class BreadthTestSchema < GraphQL::Schema
192192
use(GraphQL::Batch)
193-
query Query
193+
query BreadthTestQuery
194194
end
195195

196196
SCHEMA_FROM_DEF = GraphQL::Schema.from_definition(

0 commit comments

Comments
 (0)