adapt v2: getTask, getTasks, clearCompleted, addTask, deleteTask, getUser, getUserAnonymized, scoreTask (challenge part missing)

This commit is contained in:
Matteo Pagliazzi
2016-04-03 19:03:11 +02:00
parent 58c20c2a64
commit cc65bb1ed7
11 changed files with 309 additions and 160 deletions

View File

@@ -3,7 +3,7 @@ import {
translate as t,
} from '../../../../helpers/api-integration/v2';
xdescribe('POST /user/tasks', () => {
describe('POST /user/tasks', () => {
let user;
beforeEach(async () => {
@@ -35,7 +35,7 @@ xdescribe('POST /user/tasks', () => {
});
});
it('does not create a task with an id that already exists', async () => {
xit('does not create a task with an id that already exists', async () => {
let todo = user.todos[0];
return expect(user.post('/user/tasks', {