Skip to content

Instantly share code, notes, and snippets.

@chalkers
Forked from anonymous/Failing Webrat Scenario
Created February 4, 2010 15:43
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 chalkers/294766 to your computer and use it in GitHub Desktop.
Save chalkers/294766 to your computer and use it in GitHub Desktop.
Scenario: Create valid User
Given I have no users
And I am on the users page
When I follow "New User"
And I fill in "First Name" with "Paul"
And I fill in "Last Name" with "Ketelle"
And I fill in "Username" with "ketellep"
And I fill in "Email" with "paul@white-agency.co.uk"
And I fill in "Password" with "pk1"
And I fill in "Password Confirmation" with "pk1"
Then I should see "New user created."
And I should see "Paul"
And I should see "Ketelle"
And I should have 1 user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment