You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: auto_register_spec.rb
    path of file: ./repos/rom/spec/suite/compat/unit/configuration
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "rom/compat"
require "rom/transformer"

RSpec.describe ROM::Configuration, "#auto_register" do
  subject(:setup) { ROM::Configuration.n
    
  def zeitwerk_teardown
    # From zeitwerk's own test/support/loader_test
    # adjusted to work with dry-rb gem loaders

    Zeitwerk::Registry.loaders.reject! do |loader|
      test_loader = loader.dirs.any? { |dir| dir.include?("/spec/") || dir.include?(Dir.tmpdir) }

      if test_loader
        loader.unregister
        true
      else
        false
      end
    end