Sha256: 23016231358aa9c9e2673261bf825da021e668d410a22e042900364d11293994

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

Feature: Sign in

  In order to get access to protected sections of the site
  As a visitor
  I want to sign in

  Scenario: Visitor is not signed up
    When I sign in as "unknown.email@example.com"
    Then I am told email or password is bad
    And I should be signed out

 Scenario: Visitor enters wrong password
    Given I am signed up as "email@example.com"
    When I sign in as "email@example.com" and "badpassword"
    Then I am told email or password is bad
    And I should be signed out

 Scenario: Visitor signs in successfully
    Given I am signed up as "email@example.com"
    When I sign in as "email@example.com"
    Then I should be signed in

 Scenario: Visitor signs in successfully with uppercase email
    Given I am signed up as "email@example.com"
    When I sign in as "Email@example.com"
    Then I should be signed in

 Scenario: Visitor enters wrong password and goes to sign up
    Given I am signed up as "email@example.com"
    When I sign in as "email@example.com" and "badpassword"
    Then I am told email or password is bad
    When I follow the sign up link in the flash
    Then I should be on the sign up page

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clearance-1.0.0.rc2 features/engine/visitor_signs_in.feature
clearance-1.0.0.rc1 features/engine/visitor_signs_in.feature