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
3e563b1
commit 8d84826
Showing
11 changed files
with
58 additions
and
128 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
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
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
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
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
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
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 |
---|---|---|
|
@@ -178,19 +178,15 @@ describe("userActions", function() { | |
.returns(Promise.resolve({ guid: "" })); | ||
}); | ||
|
||
it("calls receivedOrgSpacesToExtractSpaceUsers once when org has one space", function( | ||
done | ||
) { | ||
it("calls receivedOrgSpacesToExtractSpaceUsers once when org has one space", function(done) { | ||
orgSpaces = [orgSpace]; | ||
userActions | ||
.receivedOrgSpacesToExtractSpaceUsers(orgSpaces) | ||
.then(done, done.fail); | ||
expect(cfApi.fetchSpaceUserRoles).toHaveBeenCalledOnce(); | ||
}); | ||
|
||
it("calls receivedOrgSpacesToExtractSpaceUsers three times when org has three spaces", function( | ||
done | ||
) { | ||
it("calls receivedOrgSpacesToExtractSpaceUsers three times when org has three spaces", function(done) { | ||
orgSpaces = [orgSpace, orgSpace, orgSpace]; | ||
userActions | ||
.receivedOrgSpacesToExtractSpaceUsers(orgSpaces) | ||
|
@@ -469,9 +465,7 @@ describe("userActions", function() { | |
sandbox.stub(UserStore, "get").returns("org_user"); | ||
}); | ||
|
||
it("should dispatch a view event of type create invite notification with false", function( | ||
done | ||
) { | ||
it("should dispatch a view event of type create invite notification with false", function(done) { | ||
description = | ||
"An email invite was sent to [email protected]. Their account has been associated to this space, and their space roles can be controlled below."; | ||
var expected = { | ||
|
@@ -485,9 +479,7 @@ describe("userActions", function() { | |
done(); | ||
}); | ||
|
||
it("should dispatch a view event of type create invite notification with true", function( | ||
done | ||
) { | ||
it("should dispatch a view event of type create invite notification with true", function(done) { | ||
description = | ||
"The cloud.gov account for [email protected] is now associated to this space. Control their space roles below."; | ||
var expected = { | ||
|
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
Oops, something went wrong.