Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 0.822 kb
Feature: Sign up
In order to get access to protected sections of the site
As a visitor
I want to sign up
Background:
When I go to the sign up page
Then I should see an email field
Scenario: Visitor signs up with invalid email
When I fill in "Email" with "invalidemail"
And I fill in "Password" with "password"
And I press "Sign up"
Then I should see "Email is invalid"
Scenario: Visitor signs up with blank password
When I fill in "Email" with "email@example.com"
And I fill in "Password" with ""
And I press "Sign up"
Then I should see "Password can't be blank"
Scenario: Visitor signs up with valid data
When I fill in "Email" with "email@example.com"
And I fill in "Password" with "password"
And I press "Sign up"
Then I should see "signed up"
Jump to Line
Something went wrong with that request. Please try again.