Skip to content

Instantly share code, notes, and snippets.

@itsbth
Created January 21, 2012 16:45
Show Gist options
  • Select an option

  • Save itsbth/1653251 to your computer and use it in GitHub Desktop.

Select an option

Save itsbth/1653251 to your computer and use it in GitHub Desktop.
Uploaded by UploadToGist for Sublime Text 2
Feature: User management
Scenario: Logging in with a new account
When I log in
Then I should get redirected to the settings page
And I should get a success flash
Scenario: Logging in with an existing account
Given a User exists with an identity url of "http://foo.com/"
When I log in as http://foo.com/
Then I should get redirected to the home page
And I should get a success flash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment