From 2430f52bb97fa9d682e5f028c977c5bf94c5ec38 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 23 Mar 2012 14:03:24 -0700 Subject: chore(module): move files around in preparation for more modules --- test/directive/styleSpec.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 test/directive/styleSpec.js (limited to 'test/directive/styleSpec.js') diff --git a/test/directive/styleSpec.js b/test/directive/styleSpec.js deleted file mode 100644 index bdc4ea85..00000000 --- a/test/directive/styleSpec.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -describe('style', function() { - var element; - - - afterEach(function() { - dealoc(element); - }); - - - it('should not compile style element', inject(function($compile, $rootScope) { - element = jqLite(''); - $compile(element)($rootScope); - $rootScope.$digest(); - - // read innerHTML and trim to pass on IE8 - expect(trim(element[0].innerHTML)).toBe('should {{notBound}}'); - })); - - - it('should compile content of element with style attr', inject(function($compile, $rootScope) { - element = jqLite('
{{bind}}
'); - $compile(element)($rootScope); - $rootScope.$apply(function() { - $rootScope.bind = 'value'; - }); - - expect(element.text()).toBe('value'); - })); -}); -- cgit v1.2.3