missing test
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
describe('Angular', function(){
|
||||
it('should fire on updateEvents', function(){
|
||||
var onUpdateView = jasmine.createSpy();
|
||||
var scope = angular.compile("<div></div>", { onUpdateView: onUpdateView });
|
||||
expect(onUpdateView).wasNotCalled();
|
||||
scope.init();
|
||||
scope.updateView();
|
||||
expect(onUpdateView).wasCalled();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user