diff --git a/spec/integration/rails/graphql/schema_spec.rb b/spec/integration/rails/graphql/schema_spec.rb index ed8291b649..ef98640bf0 100644 --- a/spec/integration/rails/graphql/schema_spec.rb +++ b/spec/integration/rails/graphql/schema_spec.rb @@ -232,7 +232,6 @@ def execute_query(query:) } let(:schema) { - spec = self Class.new(GraphQL::Schema) do query_type = Class.new(GraphQL::Schema::Object) do graphql_name "Query"