Created
July 19, 2011 23:23
-
-
Save joshmcarthur/1093995 to your computer and use it in GitHub Desktop.
Omniauth: stub out providers
This file contains hidden or 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
## Note: This goes inside your spec_helper.rb file - if using Spork, inside the Spork.prefork block | |
OmniAuth.config.test_mode = true | |
OmniAuth.config.add_mock(:twitter, { | |
:uid => '123456789' | |
}) | |
OmniAuth.config.add_mock(:facebook, { | |
:uid => '123456789' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment