Skip to content

Commit 9d566fe

Browse files
committed
missing test
1 parent 799d729 commit 9d566fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/AngularSpec.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
describe('Angular', function(){
2+
it('should fire on updateEvents', function(){
3+
var onUpdateView = jasmine.createSpy();
4+
var scope = angular.compile("<div></div>", { onUpdateView: onUpdateView });
5+
expect(onUpdateView).wasNotCalled();
6+
scope.init();
7+
scope.updateView();
8+
expect(onUpdateView).wasCalled();
9+
});
10+
});

0 commit comments

Comments
 (0)