fix(tests): correct expects

This commit is contained in:
SabreCat
2018-11-14 13:07:44 +00:00
committed by Phillip Thelen
parent 577ff4cab9
commit dd2c2f62b8
10 changed files with 262 additions and 14 deletions

View File

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