change "an user" to "a user" in comments and text (no code changes) (#7257)

This commit is contained in:
Alys
2016-05-15 09:10:08 +10:00
committed by Matteo Pagliazzi
parent 8a72c91060
commit 887d187691
7 changed files with 14 additions and 14 deletions
@@ -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`);