This project is deprecated and no longer maintained. We recommend that you use Omniauth instead.
Use Twitter OAuth authentication on top of Clearance.
-
Install:
script/plugin install git@github.com:thoughtbot/clearance-twitter.git
-
Get to red by generating the features:
script/generate clearance_twitter_features
-
Get to green by generating the code:
script/generate clearance_twitter
The cucumber features use WebMock to fake twitter.com OAuth responses. If you'd like to use another tool for this, see the generated file:
features/support/clearance_twitter_support.rb