Logo: Relish

  1. Sign in

Project: relish

Authenticate

  • @gem

If you're using the gem, we need to work out who you are. If we don't know already, then
we'll ask you for your details once, check them with the server and then cache a token
which we can use from then on.

Your password will never be stored anywhere, and is always transmitted via SSL.

Scenarios
User authenticates successfully
Given
a user "[email protected]/password"
When
I run relish projects interactively
And
I enter the credentials "[email protected]/password" at the console
And
the console session ends
Then
it should have succeeded
User fails to authenticate
Given
a user "[email protected]/password"
When
I run relish projects interactively
And
I enter the credentials "[email protected]/secret" at the console
And
the console session ends
Then
it should have failed
And
stderr should contain:
Sorry

Last published over 3 years ago by mattwynne.