Sha256: 37f2131853de093f187b4c87e5e5136e4212490da9f3b582d5c0fd2a5aa7dfa1

Contents?: true

Size: 1.53 KB

Versions: 22

Compression:

Stored size: 1.53 KB

Contents

Feature: Sign in
  In order to get access to protected sections of the site
  A user
  Should be able to sign in

    Scenario: User 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: User is not confirmed
      Given I signed up with "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 "User has not confirmed email"
      And I should be signed out

   Scenario: User enters wrong password
      Given I am signed up and confirmed 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: User signs in successfully
      Given I am signed up and confirmed 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

   Scenario: User signs in and checks "remember me"
      Given I am signed up and confirmed as "email@person.com/password"
      When I go to the sign in page
      And I sign in with "remember me" 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

22 entries across 22 versions & 8 rubygems

Version Path
activerain-clearance-0.6.6 generators/clearance_features/templates/features/sign_in.feature
activerain-clearance-0.6.6001 generators/clearance_features/templates/features/sign_in.feature
activerain-clearance-0.6.6002 generators/clearance_features/templates/features/sign_in.feature
dacz-authuser-0.1.2 generators/authuser_features/templates/features/user_login.feature
hui-clearance-0.6.6 generators/clearance_features/templates/features/sign_in.feature
joshuaclayton-clearance-0.6.4 generators/clearance_features/templates/features/sign_in.feature
qrush-clearance-0.7.0 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.6.4 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.6.5 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.6.6 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.6.7 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.6.8 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.6.9 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.7.0 generators/clearance_features/templates/features/sign_in.feature
tonkapark-clearance-0.6.9.1 generators/clearance_features/templates/features/sign_in.feature
tonkapark-clearance-0.6.9.2 generators/clearance_features/templates/features/sign_in.feature
tonkapark-clearance-0.6.9.3 generators/clearance_features/templates/features/sign_in.feature
tonkapark-clearance-0.7.0.1 generators/clearance_features/templates/features/sign_in.feature
tonkapark-clearance-0.7.0 generators/clearance_features/templates/features/sign_in.feature
vita-clearance-0.6.9.1 generators/clearance_features/templates/features/sign_in.feature