From 5a8ad8fe329fc09898ff43a060710265d38393be Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 1 Dec 2010 20:29:54 -0800 Subject: Closes #170. Corrected the behavior of select when options are ng:repeated - Delete $postEval method, as it was a hack --- test/directivesSpec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/directivesSpec.js') diff --git a/test/directivesSpec.js b/test/directivesSpec.js index b70067ba..ab1813c3 100644 --- a/test/directivesSpec.js +++ b/test/directivesSpec.js @@ -13,8 +13,7 @@ describe("directive", function(){ }); afterEach(function() { - if (model && model.$element) model.$element.remove(); - expect(size(jqCache)).toEqual(0); + dealoc(model); }); it("should ng:init", function() { -- cgit v1.2.3