diff options
Diffstat (limited to 'test/ng/parseSpec.js')
| -rw-r--r-- | test/ng/parseSpec.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/test/ng/parseSpec.js b/test/ng/parseSpec.js index 7673066b..a82f736f 100644 --- a/test/ng/parseSpec.js +++ b/test/ng/parseSpec.js @@ -717,17 +717,6 @@ describe('parser', function() { }); - it('should call the function once when it is not part of the context', function() { - var count = 0; - scope.fn = function() { - count++; - return function() { return 'lucas'; }; - }; - expect(scope.$eval('fn()()')).toBe('lucas'); - expect(count).toBe(1); - }); - - it('should call the function once when it is part of the context on assignments', function() { var count = 0; var element = {}; @@ -766,7 +755,7 @@ describe('parser', function() { }); - it('should call the function once when it is part of the context on array lookup function', function() { + it('should call the function once when it is part of the context on property lookup function', function() { var count = 0; var element = {name: {anotherFn: function() { return 'lucas';} } }; scope.fn = function() { |
