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: omniauth_mock.rb
    path of file: ./repos/annict/spec/support
    
    the code of the file until where you have to start completion: # https://gist.github.com/kinopyo/1338738

module OmniauthMock
  rspec

  def mock_auth_hash(uid = "12345")
    hash = {
      provider: "twitter",
      uid: uid,
      info: {
        nickname: "mockuser",
        image: "https://placeholdit.example.com/~text?txtsize=28&txt=300%C3%97300&w=300&h=300"
      },
      credentials: {
  
    
  def mock_auth_hash(uid = "12345")
    hash = {
      provider: "twitter",
      uid: uid,
      info: {
        nickname: "mockuser",
        image: "https://placeholdit.example.com/~text?txtsize=28&txt=300%C3%97300&w=300&h=300"
      },
      credentials: {
        token: "mock_token",
        secret: "mock_secret"
      }
    }

    # The mock_auth configuration allows you to set per-provider (or default)
    # authentication hashes to return during integration testing.
    OmniAuth.config.mock_auth[:twitter] = hash

    hash
  end