fix(tests): correct expects

This commit is contained in:
SabreCat
2018-11-14 13:07:44 +00:00
parent cc13c4f28e
commit f635f178da
10 changed files with 262 additions and 14 deletions

View File

@@ -79,6 +79,14 @@ describe('POST /challenges/:challengeId/join', () => {
_id: groupLeader._id,
id: groupLeader._id,
profile: {name: groupLeader.profile.name},
auth: {
local: {
username: groupLeader.auth.local.username,
}
},
flags: {
verifiedUsername: true,
},
});
expect(res.name).to.equal(challenge.name);
});