Method: GraphQL::Testing::Helpers::ResolutionAssertionContext#initialize
- Defined in:
- lib/graphql/testing/helpers.rb
permalink #initialize(test, type_name:, object:, schema:, context:) ⇒ ResolutionAssertionContext
Returns a new instance of ResolutionAssertionContext.
116 117 118 119 120 121 122 |
# File 'lib/graphql/testing/helpers.rb', line 116 def initialize(test, type_name:, object:, schema:, context:) @test = test @type_name = type_name @object = object @schema = schema @context = context end |