Merge "JSCS Cleanup - use $apply instead of $digest for action-list.spec"

This commit is contained in:
Jenkins 2015-07-16 08:32:30 +00:00 committed by Gerrit Code Review
commit 16680c65ec

View File

@ -57,7 +57,7 @@
$element = angular.element(markup);
$compile($element)($scope);
$scope.$digest();
$scope.$apply();
}));
it('should have one dropdown button', function () {
@ -112,7 +112,7 @@
$element = angular.element(markup);
$compile($element)($scope);
$scope.$digest();
$scope.$apply();
}));
it('should have one dropdown button', function () {
@ -169,7 +169,7 @@
$element = angular.element(markup);
$compile($element)($scope);
$scope.$digest();
$scope.$apply();
}));
it('should have 3 buttons in group', function () {