This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfeaaa6
commit ae70e7c
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,10 +234,10 @@ describe('userActions', function() { | |
}); | ||
|
||
it('should dispatch a view event of type create invite notification with false', function(done) { | ||
description = 'There was no cloud.gov account found for [email protected] or the '+ | ||
'user has not verified their account by logging in.They have been '+ | ||
'sent an email cloud.gov invitation. Their account has been '+ | ||
'associated to this space and their space roles can be controlled below.'; | ||
description = 'There was no cloud.gov account found for [email protected] or the user has not verified ' + | ||
'their account by logging in.They have been sent an email cloud.gov invitation. ' + | ||
'Their account has been associated to this space and their space roles can be ' + | ||
'controlled below.'; | ||
userActions.createInviteNotification(false, email); | ||
expect(AppDispatcher.handleViewAction).toHaveBeenCalledWith(sinon.match({ | ||
type: userActionTypes.USER_INVITE_STATUS_DISPLAYED, | ||
|
@@ -247,8 +247,8 @@ describe('userActions', function() { | |
done(); | ||
}); | ||
it('should dispatch a view event of type create invite notification with true', function(done) { | ||
description = 'The account for [email protected] is now associated to this space. '+ | ||
'Control their space roles below.'; | ||
description = 'The account for [email protected] is now associated to this space. Control their ' + | ||
'space roles below.'; | ||
userActions.createInviteNotification(true, email); | ||
expect(AppDispatcher.handleViewAction).toHaveBeenCalledWith(sinon.match({ | ||
type: userActionTypes.USER_INVITE_STATUS_DISPLAYED, | ||
|