Skip to content

Instantly share code, notes, and snippets.

@plagelao
Created February 20, 2011 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plagelao/836348 to your computer and use it in GitHub Desktop.
Save plagelao/836348 to your computer and use it in GitHub Desktop.
Testing twitter authentication
OmniAuth.config.test_mode = true
OmniAuth.config.mock_auth[:twitter] = {
'provider' => 'twitter',
'uid' => '1234',
'user_info' => {'name' => user_name}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment