spec/graphql/tracing/platform_tracing_spec.rb in graphql-1.9.2 vs spec/graphql/tracing/platform_tracing_spec.rb in graphql-1.9.3
- old
+ new
@@ -35,9 +35,13 @@
before do
CustomPlatformTracer::TRACE.clear
end
+ it "runs the introspection query (handles late-bound types)" do
+ assert schema.execute(GraphQL::Introspection::INTROSPECTION_QUERY)
+ end
+
it "calls the platform's own method with its own keys" do
schema.execute(" { cheese(id: 1) { flavor } }")
# This is different because schema/member/instrumentation
# calls `irep_selection` which causes the query to be parsed.
# But interpreter doesn't require parsing until later.