Fix spelling of received. (#8937)

This commit is contained in:
Brian Murray
2017-08-15 16:02:49 -07:00
committed by Sabe Jones
parent 1f1c7826a4
commit b27319313d
3 changed files with 14 additions and 14 deletions

View File

@@ -100,7 +100,7 @@ describe('Notification Controller', function() {
}); });
describe('User challenge won notification watch', function() { describe('User challenge won notification watch', function() {
it('opens challenge won modal when a challenge-won notification is recieved', function() { it('opens challenge won modal when a challenge-won notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.userNotifications.push({type: 'WON_CHALLENGE'}); rootScope.userNotifications.push({type: 'WON_CHALLENGE'});
rootScope.$digest(); rootScope.$digest();
@@ -109,7 +109,7 @@ describe('Notification Controller', function() {
expect(achievement.displayAchievement).to.be.calledWith('wonChallenge'); expect(achievement.displayAchievement).to.be.calledWith('wonChallenge');
}); });
it('does not open challenge won modal if no new challenge-won notification is recieved', function() { it('does not open challenge won modal if no new challenge-won notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.$digest(); rootScope.$digest();
@@ -118,7 +118,7 @@ describe('Notification Controller', function() {
}); });
describe('User streak achievement notification watch', function() { describe('User streak achievement notification watch', function() {
it('opens streak achievement modal when a streak-achievement notification is recieved', function() { it('opens streak achievement modal when a streak-achievement notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.userNotifications.push({type: 'STREAK_ACHIEVEMENT'}); rootScope.userNotifications.push({type: 'STREAK_ACHIEVEMENT'});
rootScope.$digest(); rootScope.$digest();
@@ -127,7 +127,7 @@ describe('Notification Controller', function() {
expect(achievement.displayAchievement).to.be.calledWith('streak', {size: 'md'}); expect(achievement.displayAchievement).to.be.calledWith('streak', {size: 'md'});
}); });
it('does not open streak achievement modal if no new streak-achievement notification is recieved', function() { it('does not open streak achievement modal if no new streak-achievement notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.$digest(); rootScope.$digest();
@@ -136,7 +136,7 @@ describe('Notification Controller', function() {
}); });
describe('User ultimate gear set achievement notification watch', function() { describe('User ultimate gear set achievement notification watch', function() {
it('opens ultimate gear set achievement modal when an ultimate-gear-achievement notification is recieved', function() { it('opens ultimate gear set achievement modal when an ultimate-gear-achievement notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.userNotifications.push({type: 'ULTIMATE_GEAR_ACHIEVEMENT'}); rootScope.userNotifications.push({type: 'ULTIMATE_GEAR_ACHIEVEMENT'});
rootScope.$digest(); rootScope.$digest();
@@ -145,7 +145,7 @@ describe('Notification Controller', function() {
expect(achievement.displayAchievement).to.be.calledWith('ultimateGear', {size: 'md'}); expect(achievement.displayAchievement).to.be.calledWith('ultimateGear', {size: 'md'});
}); });
it('does not open ultimate gear set achievement modal if no new ultimate-gear-achievement notification is recieved', function() { it('does not open ultimate gear set achievement modal if no new ultimate-gear-achievement notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.$digest(); rootScope.$digest();
@@ -154,7 +154,7 @@ describe('Notification Controller', function() {
}); });
describe('User rebirth achievement notification watch', function() { describe('User rebirth achievement notification watch', function() {
it('opens rebirth achievement modal when a rebirth-achievement notification is recieved', function() { it('opens rebirth achievement modal when a rebirth-achievement notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.userNotifications.push({type: 'REBIRTH_ACHIEVEMENT'}); rootScope.userNotifications.push({type: 'REBIRTH_ACHIEVEMENT'});
rootScope.$digest(); rootScope.$digest();
@@ -163,7 +163,7 @@ describe('Notification Controller', function() {
expect(achievement.displayAchievement).to.be.calledWith('rebirth'); expect(achievement.displayAchievement).to.be.calledWith('rebirth');
}); });
it('does not open rebirth achievement modal if no new rebirth-achievement notification is recieved', function() { it('does not open rebirth achievement modal if no new rebirth-achievement notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.$digest(); rootScope.$digest();
@@ -172,7 +172,7 @@ describe('Notification Controller', function() {
}); });
describe('User contributor achievement notification watch', function() { describe('User contributor achievement notification watch', function() {
it('opens contributor achievement modal when a new-contributor-level notification is recieved', function() { it('opens contributor achievement modal when a new-contributor-level notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.userNotifications.push({type: 'NEW_CONTRIBUTOR_LEVEL'}); rootScope.userNotifications.push({type: 'NEW_CONTRIBUTOR_LEVEL'});
rootScope.$digest(); rootScope.$digest();
@@ -181,7 +181,7 @@ describe('Notification Controller', function() {
expect(achievement.displayAchievement).to.be.calledWith('contributor', {size: 'md'}); expect(achievement.displayAchievement).to.be.calledWith('contributor', {size: 'md'});
}); });
it('does not open contributor achievement modal if no new new-contributor-level notification is recieved', function() { it('does not open contributor achievement modal if no new new-contributor-level notification is received', function() {
rootScope.$digest(); rootScope.$digest();
rootScope.$digest(); rootScope.$digest();

View File

@@ -184,7 +184,7 @@
"birthdayCardAchievementTitle": "Birthday Bonanza", "birthdayCardAchievementTitle": "Birthday Bonanza",
"birthdayCardAchievementText": "Many happy returns! Sent or received <%= count %> birthday cards.", "birthdayCardAchievementText": "Many happy returns! Sent or received <%= count %> birthday cards.",
"congratsCard": "Congratulations Card", "congratsCard": "Congratulations Card",
"congratsCardExplanation": "You both recieve the Congratulatory Companion achievement!", "congratsCardExplanation": "You both receive the Congratulatory Companion achievement!",
"congratsCardNotes": "Send a Congratulations card to a party member.", "congratsCardNotes": "Send a Congratulations card to a party member.",
"congrats0": "Congratulations on your success!", "congrats0": "Congratulations on your success!",
"congrats1": "I'm so proud of you!", "congrats1": "I'm so proud of you!",
@@ -194,7 +194,7 @@
"congratsCardAchievementTitle": "Congratulatory Companion", "congratsCardAchievementTitle": "Congratulatory Companion",
"congratsCardAchievementText": "It's great to celebrate your friends' achievements! Sent or received <%= count %> congratulations cards.", "congratsCardAchievementText": "It's great to celebrate your friends' achievements! Sent or received <%= count %> congratulations cards.",
"getwellCard": "Get Well Card", "getwellCard": "Get Well Card",
"getwellCardExplanation": "You both recieve the Caring Confidant achievement!", "getwellCardExplanation": "You both receive the Caring Confidant achievement!",
"getwellCardNotes": "Send a Get Well card to a party member.", "getwellCardNotes": "Send a Get Well card to a party member.",
"getwell0": "Hope you feel better soon!", "getwell0": "Hope you feel better soon!",
"getwell1": "Take care! <3", "getwell1": "Take care! <3",

View File

@@ -1055,8 +1055,8 @@ async function _inviteByEmail (invite, group, inviter, req, res) {
* } * }
* *
* @apiSuccess {Array} data The invites * @apiSuccess {Array} data The invites
* @apiSuccess {Object} data[0] If the invitation was a user id, you'll receive back an object. You'll recieve one Object for each succesful user id invite. * @apiSuccess {Object} data[0] If the invitation was a user id, you'll receive back an object. You'll receive one Object for each succesful user id invite.
* @apiSuccess {String} data[1] If the invitation was an email, you'll receive back the email. You'll recieve one String for each successful email invite. * @apiSuccess {String} data[1] If the invitation was an email, you'll receive back the email. You'll receive one String for each successful email invite.
* *
* @apiSuccessExample {json} Successful Response with Emails * @apiSuccessExample {json} Successful Response with Emails
* { * {