Sha256: 40e6abac92a2e60f38fa64800fc954fee5e5d68b2a4a1ee3f26c9298b389e4e6
Contents?: true
Size: 486 Bytes
Versions: 18
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true RSpec.shared_context 'with graphql schema test' do let(:variables) { {} } let(:resource_names) { [:user] } let(:resource) { nil } let(:controller) { instance_double(GraphqlDevise::GraphqlController) } let(:context) do { current_resource: resource, controller: controller, resource_name: resource_names } end let(:response) do schema.execute(query, context: context, variables: variables).deep_symbolize_keys end end
Version data entries
18 entries across 18 versions & 1 rubygems