diff options
| author | Matias Niemelä | 2013-08-17 11:39:28 -0400 | 
|---|---|---|
| committer | Misko Hevery | 2013-08-19 14:55:19 -0700 | 
| commit | 6749fef227a5a633b4858c9a2d6f630078493dbe (patch) | |
| tree | 47695e779445ccf628721f2974e8b9b0ec33b6ee /test/ng/directive | |
| parent | 63e9ea18f8da6bdd9c5f91ca75ae08f662f2228d (diff) | |
| download | angular.js-6749fef227a5a633b4858c9a2d6f630078493dbe.tar.bz2 | |
revert(ngInclude): remove ngInclude manual transclusion system
Diffstat (limited to 'test/ng/directive')
| -rw-r--r-- | test/ng/directive/ngIncludeSpec.js | 25 | 
1 files changed, 0 insertions, 25 deletions
diff --git a/test/ng/directive/ngIncludeSpec.js b/test/ng/directive/ngIncludeSpec.js index b712c130..f1bfbba2 100644 --- a/test/ng/directive/ngIncludeSpec.js +++ b/test/ng/directive/ngIncludeSpec.js @@ -280,31 +280,6 @@ describe('ngInclude', function() {      dealoc(element);    })); -  it('should compile only the inner content once', function() { -    var log = []; - -    module(function($compileProvider) { -      $compileProvider.directive('compileLog', function() { -        return { -          compile: function() { -            log.push('compile'); -          } -        }; -      }); -    }); - -    inject(function($compile, $rootScope, $templateCache) { -      $templateCache.put('tpl.html', [200, '<div compile-log>123</div>', {}]); -      element = $compile('<div><div ng-include="exp"></div></div>')($rootScope); - -      $rootScope.exp = 'tpl.html'; -      $rootScope.$digest(); - -      expect(element.text()).toBe('123'); -      expect(log).toEqual(['compile']); -    }); -  }); -    describe('autoscoll', function() {      var autoScrollSpy;  | 
