fix linting and add pending test

This commit is contained in:
Matteo Pagliazzi
2016-01-02 18:23:01 +01:00
parent 27065b3f4d
commit a775c992ab
2 changed files with 5 additions and 4 deletions

View File

@@ -63,5 +63,6 @@ describe('DELETE /tasks/:id', () => {
});
it('cannot delete active challenge tasks'); // TODO after challenges are implemented
it('remove a task from user.tasksOrder'); // TODO
});
});

View File

@@ -184,7 +184,7 @@ describe('POST /tasks', () => {
text: 'an habit',
}, {
type: 'habit',
text: 'another habit'
text: 'another habit',
}]);
let updatedUser = await user.get('/user');
@@ -302,7 +302,7 @@ describe('POST /tasks', () => {
text: 'a todo',
}, {
type: 'todo',
text: 'another todo'
text: 'another todo',
}]);
let updatedUser = await user.get('/user');
@@ -392,7 +392,7 @@ describe('POST /tasks', () => {
text: 'a daily',
}, {
type: 'daily',
text: 'another daily'
text: 'another daily',
}]);
let updatedUser = await user.get('/user');
@@ -532,7 +532,7 @@ describe('POST /tasks', () => {
text: 'a reward',
}, {
type: 'reward',
text: 'another reward'
text: 'another reward',
}]);
let updatedUser = await user.get('/user');