v3 adapt v2: remove references to sanitizeCreate and fix tests

This commit is contained in:
Matteo Pagliazzi
2016-04-12 23:53:55 +02:00
parent 793ce38f6b
commit 28d8c370c3
3 changed files with 4 additions and 4 deletions

View File

@@ -33,13 +33,13 @@ describe('PUT /user/tasks/:id', () => {
text: 'new text',
notes: 'new notes',
value: 10000,
priority: 0.5,
priority: 0.1,
attribute: 'str',
}).then((updatedTask) => {
expect(updatedTask.text).to.eql('new text');
expect(updatedTask.notes).to.eql('new notes');
expect(updatedTask.value).to.eql(10000);
expect(updatedTask.priority).to.eql(0.5);
expect(updatedTask.priority).to.eql(0.1);
expect(updatedTask.attribute).to.eql('str');
});
});