diff options
Diffstat (limited to 'test/directive/ngNonBindableSpec.js')
| -rw-r--r-- | test/directive/ngNonBindableSpec.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/directive/ngNonBindableSpec.js b/test/directive/ngNonBindableSpec.js deleted file mode 100644 index 1f7bf25d..00000000 --- a/test/directive/ngNonBindableSpec.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - - -describe('ng-non-bindable', function() { - var element; - - - afterEach(function(){ - dealoc(element); - }); - - - it('should prevent compilation of the owning element and its children', - inject(function($rootScope, $compile) { - element = $compile('<div ng-non-bindable text="{{name}}"><span ng-bind="name"></span></div>')($rootScope); - $rootScope.name = 'misko'; - $rootScope.$digest(); - expect(element.text()).toEqual(''); - expect(element.attr('text')).toEqual('{{name}}'); - })); -}); |
