diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/directive/ngNonBindableSpec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/directive/ngNonBindableSpec.js b/test/directive/ngNonBindableSpec.js index 8b745364..4f69528b 100644 --- a/test/directive/ngNonBindableSpec.js +++ b/test/directive/ngNonBindableSpec.js @@ -10,11 +10,12 @@ describe('ng-non-bindable', function() { }); - it('should prevent compilation of the owning element and its children', + iit('should prevent compilation of the owning element and its children', inject(function($rootScope, $compile) { - element = $compile('<div ng-non-bindable><span ng-bind="name"></span></div>')($rootScope); + 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}}'); })); }); |
