Sha256: a5772535011988e98969d8308ae3d5a30c167d1cc016e07bcb92544c8cabbc78

Contents?: true

Size: 1.79 KB

Versions: 28

Compression:

Stored size: 1.79 KB

Contents

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

    Scenario: User signs up with invalid data
      When I go to the sign up page
      And I fill in "Email" with "invalidemail"
      And I fill in "Password" with "password"
      And I fill in "Confirm password" with ""
      And I press "Sign up"
      Then I should see error messages

    Scenario: User signs up with valid data
      When I go to the sign up page
      And I fill in "Email" with "email@person.com"
      And I fill in "Password" with "password"
      And I fill in "Confirm password" with "password"
      And I press "Sign up"
      Then I should see "instructions for confirming"
      And a confirmation message should be sent to "email@person.com"

    Scenario: User confirms his account
      Given I signed up with "email@person.com/password"
      When I follow the confirmation link sent to "email@person.com"
      Then I should see "Confirmed email and signed in"
      And I should be signed in

    Scenario: Signed in user clicks confirmation link again
      Given I signed up with "email@person.com/password"
      When I follow the confirmation link sent to "email@person.com"
      Then I should be signed in
      When I follow the confirmation link sent to "email@person.com"
      Then I should see "Confirmed email and signed in"
      And I should be signed in

    Scenario: Signed out user clicks confirmation link again
      Given I signed up with "email@person.com/password"
      When I follow the confirmation link sent to "email@person.com"
      Then I should be signed in
      When I sign out
      And I follow the confirmation link sent to "email@person.com"
      Then I should see "Already confirmed email. Please sign in."
      And I should be signed out

Version data entries

28 entries across 19 versions & 4 rubygems

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