Sha256: d626534bf947859e0720d7cab9438544d79d5d7b2b7e439a4ec0afe87b9d1738

Contents?: true

Size: 938 Bytes

Versions: 1

Compression:

Stored size: 938 Bytes

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
    Given no user exists with an email of "email@person.com"
    When I go to the sign in page
    And I sign in as "email@person.com/password"
    Then I should see "Bad email or password"
    And I should be signed out

 Scenario: Visitor enters wrong password
    Given I am signed up as "email@person.com/password"
    When I go to the sign in page
    And I sign in as "email@person.com/wrongpassword"
    Then I should see "Bad email or password"
    And I should be signed out

 Scenario: Visitor signs in successfully
    Given I am signed up as "email@person.com/password"
    When I go to the sign in page
    And I sign in as "email@person.com/password"
    Then I should see "Signed in"
    And I should be signed in
    When I return next time
    Then I should be signed in

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clearance-0.10.3.2 features/engine/visitor_signs_in.feature