File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ class Subscription < GraphQL::Schema::Object
440440 """
441441 UNION
442442}
443- SCHEMA
443+ GRAPHQL
444444 assert_equal expected . chomp , GraphQL ::Schema ::Printer . print_introspection_schema
445445 end
446446 end
@@ -479,19 +479,19 @@ class Subscription < GraphQL::Schema::Object
479479 custom_subscription = Class . new ( PrinterTestSchema ::Subscription ) { graphql_name "MySubscriptionRoot" }
480480 custom_schema = Class . new ( PrinterTestSchema ) { subscription ( custom_subscription ) }
481481
482- expected = <<SCHEMA
482+ expected = <<GRAPHQL
483483schema {
484484 query: Query
485485 mutation: Mutation
486486 subscription: MySubscriptionRoot
487487}
488- SCHEMA
488+ GRAPHQL
489489
490490 assert_match expected , GraphQL ::Schema ::Printer . print_schema ( custom_schema )
491491 end
492492
493493 it "returns the schema as a string for the defined types" do
494- expected = <<SCHEMA
494+ expected = <<GRAPHQL
495495type Audio {
496496 duration: Int!
497497 id: ID!
You can’t perform that action at this time.
0 commit comments