aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/compilerSpec.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-07 16:18:41 -0800
committerIgor Minar2012-03-08 11:06:15 -0800
commitee7209fe2676f836ef39ff77e3aa5c46572e817b (patch)
tree3660d1a19fa49c3b8717a741600468b4d061fb77 /test/service/compilerSpec.js
parent772ddb983b06058ecfae46700641927183820a36 (diff)
downloadangular.js-ee7209fe2676f836ef39ff77e3aa5c46572e817b.tar.bz2
fix(tests): fix name collisions between various tests
Diffstat (limited to 'test/service/compilerSpec.js')
-rw-r--r--test/service/compilerSpec.js7
1 files changed, 4 insertions, 3 deletions
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('<div><span iscope><a log></a></span></div>')($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('<a log></a>');
element = $compile('<div><span tiscope></span></div>')($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(
'<div>' + //1