fix task.challenge tests and add checks when scoring challenge tasks

This commit is contained in:
Matteo Pagliazzi
2016-05-25 14:49:08 +02:00
parent 506705d738
commit f713bf53c1
3 changed files with 5 additions and 3 deletions

View File

@@ -117,7 +117,7 @@ describe('POST /challenges/:challengeId/leave', () => {
});
expect(testTask).to.not.be.undefined;
expect(testTask.challenge).to.be.undefined;
expect(testTask.challenge).to.eql({});
});
});
});