spec/graphql/schema/printer_spec.rb in graphql-0.19.0 vs spec/graphql/schema/printer_spec.rb in graphql-0.19.1

- old
+ new

@@ -61,10 +61,10 @@ argument :varied, variant_input_type, default_value: { id: "123", int: 234, float: 2.3, enum: "FOO", sub: [{ string: "str" }] } resolve -> (obj, args, ctx) { Post.find(args["id"]) } end end - GraphQL::Schema.define(query: query_root) + GraphQL::Schema.define(query: query_root, resolve_type: :pass) } describe ".print_introspection_schema" do it "returns the schema as a string for the introspection types" do expected = <<SCHEMA