check for memberCount in join group and removeMemberFromGroup test

This commit is contained in:
Matteo Pagliazzi
2016-01-24 13:14:29 +01:00
parent 490d92eb2f
commit 4149cbf381
2 changed files with 15 additions and 4 deletions
@@ -52,7 +52,7 @@ describe('POST /group/:groupId/join', () => {
await joiningUser.post(`/groups/${publicGuild._id}/join`);
await expect(invitedUser.get(`/groups/${publicGuild._id}`)).to.eventually.have.property('memberCount', oldMemberCount + 1);
await expect(joiningUser.get(`/groups/${publicGuild._id}`)).to.eventually.have.property('memberCount', oldMemberCount + 1);
});
});