Sha256: d3c0d7f4ea32ffa20049652a0d0fb6e0585be2ad2c1933a527b0c91bac988203

Contents?: true

Size: 865 Bytes

Versions: 2

Compression:

Stored size: 865 Bytes

Contents

Feature: Sign up

  In order to access 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 "Must be a valid email address"

  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"
    And I should be on the home page

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clearance-0.11.2 features/engine/visitor_signs_up.feature
clearance-0.11.1 features/engine/visitor_signs_up.feature