Skip to content

Commit d322572

Browse files
Paul LeclercqPaul Leclercq
authored andcommitted
update test for angular 1.3
1 parent 4f1a3b9 commit d322572

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/unit/directivesSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ describe('timer directive', function() {
1313
var element = $compile('<timer/>')($scope);
1414
$scope.$digest();
1515
$timeout(function() {
16-
expect(element.html()).toMatch(/^<span class="ng-scope ng-binding">/);
16+
expect(element.html()).toMatch(/^<span class="ng-binding ng-scope">/);
1717
expect(element.html().indexOf('</span>')).toBeGreaterThan(-1);
1818
$rootScope.$broadcast('timer-stop');
1919
}, 300);
2020
$timeout.flush();
21-
expect($exceptionHandler.errors).toEqual(undefined);
21+
expect($exceptionHandler.errors).toEqual([]);
2222
});
2323
});
2424
});

0 commit comments

Comments
 (0)