Skip to content

Commit ee7209f

Browse files
committed
fix(tests): fix name collisions between various tests
1 parent 772ddb9 commit ee7209f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/service/compilerSpec.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,8 @@ describe('$compile', function() {
952952
}));
953953

954954

955-
it('should allow creation of new isolated scopes', inject(function($rootScope, $compile, log) {
955+
it('should allow creation of new isolated scopes for directives', inject(
956+
function($rootScope, $compile, log) {
956957
element = $compile('<div><span iscope><a log></a></span></div>')($rootScope);
957958
expect(log).toEqual('LOG; log-002-001; 002');
958959
$rootScope.name = 'abc';
@@ -961,7 +962,7 @@ describe('$compile', function() {
961962
}));
962963

963964

964-
it('should allow creation of new isolated scopes', inject(
965+
it('should allow creation of new isolated scopes for directives with templates', inject(
965966
function($rootScope, $compile, log, $httpBackend) {
966967
$httpBackend.expect('GET', 'tiscope.html').respond('<a log></a>');
967968
element = $compile('<div><span tiscope></span></div>')($rootScope);
@@ -973,7 +974,7 @@ describe('$compile', function() {
973974
}));
974975

975976

976-
it('should correctly create the scope hierachy properly', inject(
977+
it('should correctly create the scope hierachy', inject(
977978
function($rootScope, $compile, log) {
978979
element = $compile(
979980
'<div>' + //1

0 commit comments

Comments
 (0)