Cucumber Ltd / jam

Log infeatures/authentication/log_in.feature

Redirect ends the response, so don't end it

Aslak Helles√ły

Currently viewing

Feature: Log In

Scenario: Successful log in

  • Given Bob is logged out
  • When Bob logs in
  • Then Bob should be logged in
  • And Bob should be remembered

Scenario: Non-existent email

  • When AnonymousCoward tries to log in with a non-existent email address
  • Then AnonymousCoward should be told the login attempt failed

Scenario: Incorrect password

  • When Bob tries to log in with the wrong password
  • Then Bob should be told the login attempt failed