mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-22 04:13:09 -07:00
Update mongodb_document_store_spec.js
removed unwanted codes
This commit is contained in:
parent
fa68daea12
commit
5353c1757b
1 changed files with 1 additions and 24 deletions
|
@ -15,27 +15,4 @@ describe('mongodb_document_store', () => {
|
|||
});
|
||||
})
|
||||
});
|
||||
|
||||
// it('should create new task', () => {
|
||||
// return service.addTask({ name: 'next', completed: false })
|
||||
// .then(task => {
|
||||
// expect(task.name).to.equal('next')
|
||||
// expect(task.completed).to.equal(false)
|
||||
// })
|
||||
// .then(() => service.getTasks())
|
||||
// .then(tasks => {
|
||||
// expect(tasks.length).to.equal(2)
|
||||
// expect(tasks[1].name).to.equal('next')
|
||||
// })
|
||||
// })
|
||||
|
||||
// it('should remove task', () => {
|
||||
// return service.getTasks()
|
||||
// .then(tasks => tasks[0]._id)
|
||||
// .then(taskId => service.deleteTask(taskId))
|
||||
// .then(() => service.getTasks())
|
||||
// .then(tasks => {
|
||||
// expect(tasks.length).to.equal(0)
|
||||
// })
|
||||
// })
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue