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 collaboratorValid session
The session service allows you to see if a session already exists for a valid token.
- Background
-
- Given
- the content-type is 'application/json'
- Scenarios
-
- A check is made for an active session
-
- When
- a session has been created
- And
- a GET request is sent to '/sessions/{valid_token}'
- Then
- a HTTP status code of 200 should be returned
- when a check is made on an valid session the expired time is refreshed
-
- When
- a session has been created
- And
- a POST request is sent to '/sessions/{valid_token}' after 2 seconds
- When
- a POST request is sent to '/sessions/{valid_token}' after 2 seconds
- When
- a POST request is sent to '/sessions/{valid_token}' after 2 seconds
- Then
- a HTTP status code of 201 should be returned
Last published almost 7 years ago by John James.