From ee7209fe2676f836ef39ff77e3aa5c46572e817b Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 7 Mar 2012 16:18:41 -0800 Subject: fix(tests): fix name collisions between various tests --- test/service/compilerSpec.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/service/compilerSpec.js b/test/service/compilerSpec.js index 2a293acf..cc4bb026 100644 --- a/test/service/compilerSpec.js +++ b/test/service/compilerSpec.js @@ -952,7 +952,8 @@ describe('$compile', function() { })); - it('should allow creation of new isolated scopes', inject(function($rootScope, $compile, log) { + it('should allow creation of new isolated scopes for directives', inject( + function($rootScope, $compile, log) { element = $compile('
')($rootScope); expect(log).toEqual('LOG; log-002-001; 002'); $rootScope.name = 'abc'; @@ -961,7 +962,7 @@ describe('$compile', function() { })); - it('should allow creation of new isolated scopes', inject( + it('should allow creation of new isolated scopes for directives with templates', inject( function($rootScope, $compile, log, $httpBackend) { $httpBackend.expect('GET', 'tiscope.html').respond(''); element = $compile('
')($rootScope); @@ -973,7 +974,7 @@ describe('$compile', function() { })); - it('should correctly create the scope hierachy properly', inject( + it('should correctly create the scope hierachy', inject( function($rootScope, $compile, log) { element = $compile( '
' + //1 -- cgit v1.2.3