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

Commit c0b6bdc

Browse files
committed
update test expectation
1 parent b7389f5 commit c0b6bdc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/ng/compileSpec.js

+4
Original file line numberDiff line numberDiff line change
@@ -4405,6 +4405,10 @@ 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

44104414
iit('should work for primitive literals', inject(function() {

0 commit comments

Comments
 (0)