Created
February 20, 2011 21:51
-
-
Save plagelao/836348 to your computer and use it in GitHub Desktop.
Testing twitter authentication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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