diff options
Diffstat (limited to 'spec/graphql/resolvers/concerns/looks_ahead_spec.rb')
-rw-r--r-- | spec/graphql/resolvers/concerns/looks_ahead_spec.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/graphql/resolvers/concerns/looks_ahead_spec.rb b/spec/graphql/resolvers/concerns/looks_ahead_spec.rb index 4c244da5c62..532eff87307 100644 --- a/spec/graphql/resolvers/concerns/looks_ahead_spec.rb +++ b/spec/graphql/resolvers/concerns/looks_ahead_spec.rb @@ -57,10 +57,12 @@ RSpec.describe LooksAhead do end def query(doc = document) - GraphQL::Query.new(schema, - document: doc, - context: { user_db: [the_user] }, - variables: { username: the_user.username }) + GraphQL::Query.new( + schema, + document: doc, + context: { user_db: [the_user] }, + variables: { username: the_user.username } + ) end let(:document) do |