Skip to content

Instantly share code, notes, and snippets.

@tooky
Created September 2, 2014 18:33
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 tooky/99d448533f7a792cda0e to your computer and use it in GitHub Desktop.
Save tooky/99d448533f7a792cda0e to your computer and use it in GitHub Desktop.
Feature: Sign up
Scenario: New user redirected to their own page
Given I am not logged in
And I visit the homepage
And I follow "Sign up"
And I fill in "Username" with "Matt"
And I fill in "Password" with "password"
And I fill in "Confirm password" with "password"
When I press "Sign up"
Then I should be on my feeds page
And I should see "Hello, Matt"
Feature: Sign up
Scenario: New user redirected to their own page
When I sign up for a new account
Then I should be taken to my feeds page
And I should see a greeting message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment