Skip to content

Instantly share code, notes, and snippets.

@timurvafin
Created January 21, 2011 14:27
Show Gist options
  • Save timurvafin/789730 to your computer and use it in GitHub Desktop.
Save timurvafin/789730 to your computer and use it in GitHub Desktop.
@webmock
Feature: Sign up with Twitter account
In order to log into the system
As a user
I want to register a new account with the system with my Twitter account
Scenario: User signs up with Twitter account
Given the Twitter OAuth request is successful
When I go to the sign up page
And I follow "Sign in with Twitter"
And Twitter authorizes me as registered user
Then I should be on the sign up page
When I submit my registration information for sign up using Twitter
Then I should be signed in
And I should be on the home page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment