diff options
| author | Vojta Jina | 2013-08-20 14:41:27 -0700 |
|---|---|---|
| committer | Vojta Jina | 2013-08-23 12:43:42 -0700 |
| commit | b89a4e49b922894f93d5cc69e00016f157dee625 (patch) | |
| tree | f2c1fdc470b686d4faaa18a11449bdba4f361fbc /test/ng/parseSpec.js | |
| parent | eefcdad013b56d5d3a05c0b2137a5860091b2575 (diff) | |
| download | angular.js-b89a4e49b922894f93d5cc69e00016f157dee625.tar.bz2 | |
test: rename / remove duplicate unit tests
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() { |
