Skip to content

Commit 98976c9

Browse files
committed
Update tests
1 parent ccda9b6 commit 98976c9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

spec/graphql/introspection/schema_type_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
{"name"=>"dairy"},
3333
{"name"=>"deepNonNull"},
3434
{"name"=>"error"},
35+
{"name"=>"exampleBeverage"},
3536
{"name"=>"executionError"},
3637
{"name"=>"executionErrorWithExtensions"},
3738
{"name"=>"executionErrorWithOptions"},

spec/support/dummy/schema.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ def deep_non_null; :deep_non_null; end
467467
def huge_integer
468468
GraphQL::Types::Int::MAX + 1
469469
end
470+
471+
field :example_beverage, Beverage # just to add this type to the schema
470472
end
471473

472474
class AdminDairyAppQuery < BaseObject

0 commit comments

Comments
 (0)