Exception: RSpec::GraphqlIntegration::Matchers::MatchGraphqlResponse::SchemaNotSetError
- Inherits:
-
StandardError
- Object
- StandardError
- RSpec::GraphqlIntegration::Matchers::MatchGraphqlResponse::SchemaNotSetError
- 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
-
#initialize ⇒ SchemaNotSetError
constructor
A new instance of SchemaNotSetError.
Constructor Details
#initialize ⇒ SchemaNotSetError
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 |