From f76fed8b26566d027e5f4e23f81ab776d1ce0eb2 Mon Sep 17 00:00:00 2001 From: Kyle Olivo Date: Mon, 13 Jul 2015 11:36:46 -0700 Subject: [PATCH] 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 --- .../framework/widgets/action-list/action-list.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/horizon/static/framework/widgets/action-list/action-list.spec.js b/horizon/static/framework/widgets/action-list/action-list.spec.js index ce75c446ea..6204ea51de 100644 --- a/horizon/static/framework/widgets/action-list/action-list.spec.js +++ b/horizon/static/framework/widgets/action-list/action-list.spec.js @@ -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 () {