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

As per John Papa's style guide, use $apply instead
of $digest for the action-list.spec.js

Change-Id: I5bf45ebd7f1182176b78aca4e0868db4956e90b9
Partially-Implements: blueprint jscs-cleanup
This commit is contained in:
Kyle Olivo 2015-07-13 11:36:46 -07:00
parent a336dbd707
commit f76fed8b26

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 () {