fix dateCompleted not remove from un-completed todos and fix tasks test

This commit is contained in:
Matteo Pagliazzi
2016-01-18 15:01:46 +01:00
parent d93cabafb9
commit ee854229c7
5 changed files with 5 additions and 65 deletions

View File

@@ -95,9 +95,6 @@ describe('POST /tasks/user', () => {
expect(updatedTasks).to.eql(originalTasks);
});
let updatedTasks = await user.get('/tasks');
expect(updatedTasks).to.eql(originalTasks);
});
it('automatically sets "task.userId" to user\'s uuid', async () => {