* feat: Add alias property to task model
This commit is contained in:
Blade Barringer
2016-06-16 12:28:45 -05:00
committed by GitHub
parent c34c21192b
commit b7b61e6251
21 changed files with 536 additions and 97 deletions

View File

@@ -24,6 +24,7 @@ describe('shared.ops.updateTask', () => {
text: 'updated',
id: '123',
_id: '123',
shortName: 'short-name',
type: 'todo',
tags: ['678'],
checklist: [{
@@ -38,6 +39,7 @@ describe('shared.ops.updateTask', () => {
expect(res._id).to.not.equal('123');
expect(res.type).to.equal('habit');
expect(res.text).to.equal('updated');
expect(res.shortName).to.eql('short-name');
expect(res.checklist).to.eql([{
completed: false,
text: 'item',