Skip to content

Commit f4fe469

Browse files
committed
Fix string typo
1 parent d2f9d6c commit f4fe469

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/graphql/schema/printer_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
483483
schema {
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
495495
type Audio {
496496
duration: Int!
497497
id: ID!

0 commit comments

Comments
 (0)