Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 35f5b5b

Browse files
committed
update test expectation
1 parent b7389f5 commit 35f5b5b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/ng/compileSpec.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -4395,7 +4395,7 @@ describe('$compile', function() {
43954395
}));
43964396

43974397

4398-
iit('should not complain when the isolated scope changes', inject(function() {
4398+
it('should not complain when the isolated scope changes', inject(function() {
43994399
compile('<div><span my-component ow-ref="{name: name}">');
44004400

44014401
$rootScope.name = 'a';
@@ -4405,9 +4405,13 @@ describe('$compile', function() {
44054405

44064406
expect(componentScope.owRef).toEqual({name: 'b'});
44074407
expect($rootScope.name).toBe('a');
4408+
4409+
$rootScope.name = 'c';
4410+
$rootScope.$apply();
4411+
expect(componentScope.owRef).toEqual({name: 'c'});
44084412
}));
44094413

4410-
iit('should work for primitive literals', inject(function() {
4414+
it('should work for primitive literals', inject(function() {
44114415
test('1', 1);
44124416
test('null', null);
44134417
test('undefined', undefined);

0 commit comments

Comments
 (0)