More api/auth tests

This commit is contained in:
Jori Lallo
2016-09-11 23:14:43 -07:00
parent 969243c3e4
commit ef91cc17d5
4 changed files with 65 additions and 63 deletions

View File

@ -86,7 +86,7 @@ describe('#auth.signup', async () => {
});
});
describe('#login', () => {
describe('#auth.login', () => {
test('should login with email', async () => {
await seed();
const res = await server.post('/api/auth.login', {