api v3 adapt v2: correctly import dependencies, port create, get, list groups

This commit is contained in:
Matteo Pagliazzi
2016-04-04 23:18:49 +02:00
parent f6fc50f6c2
commit 0a40c56973
17 changed files with 258 additions and 123 deletions

View File

@@ -42,7 +42,7 @@ describe('DELETE /user', () => {
});
});
it('deletes the user', async () => {
it('deletes the user\'s tasks', async () => {
// gets the user's tasks ids
let ids = [];
each(user.tasksOrder, (idsForOrder) => {
@@ -60,7 +60,7 @@ describe('DELETE /user', () => {
}));
});
it('delete the user\'s tasks', async () => {
it('deletes the user', async () => {
await user.del('/user', {
password,
});