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 collaboratorDelete
Delete an existing/non existing session and confirm correct HTTP status code is returned
- Scenarios
-
- Deleting an existing session
-
- Given
- a session has been created
- When
- a DELETE request is sent to '/sessions/{valid_token}'
- Then
- a HTTP status code of 200 should be returned
- When
- a GET request is sent to '/sessions/{valid_token}'
- Then
- a HTTP status code of 404 should be returned
- Deleting a non-existing session
-
- When
- a DELETE request is sent to '/sessions/{invalid_token}'
- Then
- a HTTP status code of 200 should be returned
Last published almost 7 years ago by John James.