fixing tests
This commit is contained in:
@ -10,7 +10,8 @@ define([
|
|||||||
'backbone.supermodel',
|
'backbone.supermodel',
|
||||||
'underscore',
|
'underscore',
|
||||||
'jquery',
|
'jquery',
|
||||||
'mailpoet'
|
'mailpoet',
|
||||||
|
'modal'
|
||||||
], function(App, Marionette, SuperModel, _, jQuery, MailPoet) {
|
], function(App, Marionette, SuperModel, _, jQuery, MailPoet) {
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
@ -303,6 +303,7 @@ define([
|
|||||||
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.Model);
|
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.Model);
|
||||||
EditorApplication.getBlockTypeView = sinon.stub().returns(Backbone.View);
|
EditorApplication.getBlockTypeView = sinon.stub().returns(Backbone.View);
|
||||||
model = {set: sinon.stub()};
|
model = {set: sinon.stub()};
|
||||||
|
new (AutomatedLatestContentBlock.AutomatedLatestContentBlockView)({model: model});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('listens to the event', function () {
|
it('listens to the event', function () {
|
||||||
|
Reference in New Issue
Block a user