From 55027132f3d57e5dcf94683e6e6bd7b0aae0087d Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Fri, 23 Mar 2012 15:48:51 -0700 Subject: refactor(ngBindAttr): remove Breaks ng-bind-attr directive removed --- test/directive/ngBindSpec.js | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'test/directive') diff --git a/test/directive/ngBindSpec.js b/test/directive/ngBindSpec.js index ddfdd53d..01a07c52 100644 --- a/test/directive/ngBindSpec.js +++ b/test/directive/ngBindSpec.js @@ -77,37 +77,4 @@ describe('ng-bind-*', function() { expect(fromJson(element.text())).toEqual({key:'value'}); })); }); - - - describe('ng-bind-attr', function() { - it('should bind attributes', inject(function($rootScope, $compile) { - element = $compile('
')($rootScope); - $rootScope.$digest(); - expect(element.attr('src')).toEqual('http://localhost/mysrc'); - expect(element.attr('alt')).toEqual('myalt'); - })); - - it('should not pretty print JSON in attributes', inject(function($rootScope, $compile) { - element = $compile('