The mock_auth configuration allows you to set per-provider (or default) authentication hashes to return during integration testing. You can set it like so:
module Omniauth
module Mock
def auth_mock
OmniAuth.config.mock_auth[:github] = OmniAuth::AuthHash.new({
provider: 'github',
uid: '123545',