To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorUn-authenticated users should only ever see a login form
As a system administrator
In order to protect the system from unauthorised access
I want to make sure that only authorised users can get access
- Background Some users and an administrator exist
-
- Given
- some users exist in the database
- And
- I am not authorised
- Scenarios
-
- An unauthorised visitor visits the site
-
- When
- I go to the home page
- Then
- I should see a login form
- An unauthorised visitor tries to add a new user
-
- When
- I go to the new users page
- Then
- I should be on the login page
- And
- I should see 'You must first log in'
Last published over 7 years ago by JohnSmall.