Cucumber Ltd / jam

Sign upfeatures/authentication/sign_up.feature

Redirect ends the response, so don't end it

Aslak Helles√ły

Currently viewing

Feature: Sign Up

Appliance users can sign up by following a sign up link from anywhere in the app and entering an email, which sends an account activation email.

This allows people in an organisation who has bought the appliance to create accounts without relying on a sysadmin generating invitations.

Scenario: Successful sign up

  • When AnonymousCoward signs up
  • Then AnonymousCoward should receive an account activation email
  • And AnonymousCoward should be told to check their email for the activation message

Scenario: Invalid email

  • When AnonymousCoward signs up with an invalid email address
  • Then AnonymousCoward should be told to use a valid email address

Scenario: Not unique email

  • Given Bob has an account
  • When AnonymousCoward signs up with the same email address as Bob
  • Then AnonymousCoward should be told there is already an account with that email address