Skip to content

Commit 6de0793

Browse files
author
Myztiq
committed
Fixed tests
1 parent a742c0e commit 6de0793

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/unit/services/createAndBuildNewContainerService.unit.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ describe('createAndBuildNewContainer'.bold.underline.blue, function () {
8484
) {
8585
$q = _$q_;
8686
$rootScope = _$rootScope_;
87+
$rootScope.$broadcast = sinon.stub();
8788
createAndBuildNewContainer = _createAndBuildNewContainer_;
8889
keypather = _keypather_;
8990
});
@@ -92,10 +93,6 @@ describe('createAndBuildNewContainer'.bold.underline.blue, function () {
9293
}
9394

9495
describe('success', function () {
95-
beforeEach(function () {
96-
$rootScope.$broadcast = sinon.stub();
97-
});
98-
9996
it('should create a server', function () {
10097
setup();
10198
$rootScope.$digest();

0 commit comments

Comments
 (0)