Sha256: a97414edd9df2c9dae7381c29c22707ed540bc2add23742597f134efc2e3e9fe

Contents?: true

Size: 1.24 KB

Versions: 35

Compression:

Stored size: 1.24 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
      When I return next time
      Then I should be signed in

Version data entries

35 entries across 26 versions & 5 rubygems

Version Path
thoughtbot-clearance-0.8.0 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.8.1 generators/clearance_features/templates/features/sign_in.feature
thoughtbot-clearance-0.8.2 generators/clearance_features/templates/features/sign_in.feature
clearance-0.10.1 spec/rails_root/vendor/features/sign_in.feature
janova-clearance-0.8.8 generators/clearance_features/templates/features/sign_in.feature
janova-clearance-0.9.1 spec/rails_root/features/sign_in.feature
janova-clearance-0.9.1 lib/rails/generators/clearance_features_templates/features/sign_in.feature
clearance-0.9.1 spec/rails_root/features/sign_in.feature
clearance-0.9.1 lib/rails/generators/clearance_features_templates/features/sign_in.feature
clearance-0.9.0.rc9 spec/rails_root/features/sign_in.feature
clearance-0.9.0.rc9 lib/rails/generators/clearance_features_templates/features/sign_in.feature
clearance-0.9.0.rc8 spec/rails_root/features/sign_in.feature
clearance-0.9.0.rc8 lib/rails/generators/clearance_features_templates/features/sign_in.feature
clearance-0.9.0.rc7 spec/rails_root/features/sign_in.feature
clearance-0.9.0.rc7 lib/rails/generators/clearance_features_templates/features/sign_in.feature
clearance-0.9.0.rc6 lib/rails/generators/clearance_features_templates/features/sign_in.feature
clearance-0.9.0.rc6 spec/rails_root/features/sign_in.feature
clearance-0.9.0.rc5 lib/rails/generators/clearance_features_templates/features/sign_in.feature
clearance-0.9.0.rc5 spec/rails_root/features/sign_in.feature
clearance-0.9.0.rc4 lib/rails/generators/clearance_features_templates/features/sign_in.feature