From 61f2767ce65562257599649d9eaf9da08f321655 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 19 Mar 2013 22:27:27 -0700 Subject: feat(ngRepeat): add support for custom tracking of items BREAKING CHANGE: It is considered an error to have two items produce the same track by key. (This was tolerated before.) --- test/ng/directive/ngClassSpec.js | 2 +- test/ng/directive/ngRepeatSpec.js | 322 ++++++++++++++++++++------------------ 2 files changed, 175 insertions(+), 149 deletions(-) (limited to 'test/ng') diff --git a/test/ng/directive/ngClassSpec.js b/test/ng/directive/ngClassSpec.js index 69afef7a..d4bd76fe 100644 --- a/test/ng/directive/ngClassSpec.js +++ b/test/ng/directive/ngClassSpec.js @@ -249,7 +249,7 @@ describe('ngClass', function() { it('should update ngClassOdd/Even when model is changed by filtering', inject(function($rootScope, $compile) { element = $compile('