diff --git a/test/AngularSpec.js b/test/AngularSpec.js new file mode 100644 index 00000000..65a32279 --- /dev/null +++ b/test/AngularSpec.js @@ -0,0 +1,10 @@ +describe('Angular', function(){ + it('should fire on updateEvents', function(){ + var onUpdateView = jasmine.createSpy(); + var scope = angular.compile("
", { onUpdateView: onUpdateView }); + expect(onUpdateView).wasNotCalled(); + scope.init(); + scope.updateView(); + expect(onUpdateView).wasCalled(); + }); +}); \ No newline at end of file