fix bug in Rebirth test, add new tests, adjust apidocs (#7293)

This commit is contained in:
Alys
2016-05-17 02:13:49 +10:00
committed by Matteo Pagliazzi
parent 4bba10fac2
commit cfb5e2be60
3 changed files with 58 additions and 9 deletions

View File

@@ -31,6 +31,7 @@ describe('POST /user/rebirth', () => {
let daily = await generateDaily({
text: 'test habit',
type: 'daily',
value: 1,
streak: 1,
userId: user._id,
});