Exception: RSpec::GraphqlIntegration::Matchers::MatchGraphqlResponse::SchemaNotSetError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rspec/graphql_integration/matchers/match_graphql_response.rb

Overview

This error is raised when the schema class is not set in the RSpec configuration.

Instance Method Summary collapse

Constructor Details

#initializeSchemaNotSetError

Returns a new instance of SchemaNotSetError.



14
15
16
17
18
19
20
21
22
# File 'lib/rspec/graphql_integration/matchers/match_graphql_response.rb', line 14

def initialize
  super <<~TEXT
    Please define

      config.graphql_schema_class

    in your spec_helper.rb
  TEXT
end