diff options
| author | Misko Hevery | 2011-02-16 12:00:06 -0500 |
|---|---|---|
| committer | Misko Hevery | 2011-02-18 14:22:51 -0800 |
| commit | 87cbf9f59180d015da78c4286d692afafece5036 (patch) | |
| tree | 5747541809db36c56b56c331a721f99b84c3b669 /test/directivesSpec.js | |
| parent | fd6e5e3f31f374de7be7c80acaa766a14cb753db (diff) | |
| download | angular.js-87cbf9f59180d015da78c4286d692afafece5036.tar.bz2 | |
Remove ng:watch
Closes#143
Diffstat (limited to 'test/directivesSpec.js')
| -rw-r--r-- | test/directivesSpec.js | 12 |
1 files changed, 0 insertions, 12 deletions
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('<div ng:watch="i: count = count + 1" ng:init="count = 0">'); - 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('<div ng:click="clicked = true"></div>'); |
