From 87cbf9f59180d015da78c4286d692afafece5036 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 16 Feb 2011 12:00:06 -0500 Subject: Remove ng:watch Closes#143 --- test/directivesSpec.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'test/directivesSpec.js') diff --git a/test/directivesSpec.js b/test/directivesSpec.js index 2d4703a2..c02eb025 100644 --- a/test/directivesSpec.js +++ b/test/directivesSpec.js @@ -137,18 +137,6 @@ describe("directive", function(){ expect(input.checked).toEqual(true); }); - it('should ng:watch', function(){ - var scope = compile('
'); - scope.$eval(); - scope.$eval(); - expect(scope.$get('count')).toEqual(1); - - scope.$set('i', 0); - scope.$eval(); - scope.$eval(); - expect(scope.$get('count')).toEqual(2); - }); - describe('ng:click', function(){ it('should get called on a click', function(){ var scope = compile('
'); -- cgit v1.2.3