forked from angular-app/angular-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(admin-projects): Remove artificial array mocks.
Mocking up the array object in $scope.project.teamMembers was too artificial and would make the tests too brittle. I now just set up the array manually. I am allowed to do this because $scope.project.teamMembers is a public API of this controller - in the sense that it is used in the template as-is.
- Loading branch information
1 parent
e24c422
commit 7b08d51
Showing
1 changed file
with
15 additions
and
13 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