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: macros.rb
    path of file: ./repos/mongo-ruby-driver/spec/support
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
# rubocop:todo all

module Mongo
    
    def config_override(key, value)
      around do |example|
        existing = Mongo.send(key)

        Mongo.send("#{key}=", value)

        example.run

        Mongo.send("#{key}=", existing)
      end
    end