change "an user" to "a user" in comments and text (no code changes) (#7257)
This commit is contained in:
@@ -316,7 +316,7 @@ describe('Post /groups/:groupId/invite', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('allow inviting an user to a party if he\'s partying solo', async () => {
|
||||
it('allow inviting a user to a party if he\'s partying solo', async () => {
|
||||
let userToInvite = await generateUser();
|
||||
await userToInvite.post('/groups', { // add user to a party
|
||||
name: 'Another Test Party',
|
||||
|
||||
@@ -70,7 +70,7 @@ describe('POST /groups/:groupId/quests/reject', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('return an error when an user rejects an invite twice', async () => {
|
||||
it('return an error when a user rejects an invite twice', async () => {
|
||||
await leader.post(`/groups/${questingGroup._id}/quests/invite/${PET_QUEST}`);
|
||||
await partyMembers[0].post(`/groups/${questingGroup._id}/quests/reject`);
|
||||
|
||||
@@ -82,7 +82,7 @@ describe('POST /groups/:groupId/quests/reject', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('return an error when an user rejects an invite already accepted', async () => {
|
||||
it('return an error when a user rejects an invite already accepted', async () => {
|
||||
await leader.post(`/groups/${questingGroup._id}/quests/invite/${PET_QUEST}`);
|
||||
await partyMembers[0].post(`/groups/${questingGroup._id}/quests/accept`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user