fixing tests

This commit is contained in:
Amine Ben hammou
2017-09-27 12:15:49 +00:00
parent 98a3c6b156
commit c29dc8b4c7
2 changed files with 3 additions and 1 deletions

View File

@ -303,6 +303,7 @@ define([
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.Model);
EditorApplication.getBlockTypeView = sinon.stub().returns(Backbone.View);
model = {set: sinon.stub()};
new (AutomatedLatestContentBlock.AutomatedLatestContentBlockView)({model: model});
});
it('listens to the event', function () {