Skip to content

[graphql] Extract creating a `query` double from the specs

Brett Walker requested to merge bw-graphql-fixes-2 into master

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

Merge request reports

Loading