[graphql] Extract creating a `query` double from the specs
For the GraphQL upgrade, a new parameter needs to be passed when create a query
double.
It will go from
double('query', schema: schema)
to
double('query', schema: schema, warden: GraphQL::Schema::Warden::PassThruWarden)
So extract this logic into query_double
in GraphqlHelpers
Related to #210556 (closed)
Edited by Brett Walker