Merge pull request #1053 from mailpoet/editor_save

Save newsletter when clicked on "Next" button [MAILPOET-1051]
This commit is contained in:
mrcasual
2017-08-24 09:03:34 -04:00
committed by GitHub
4 changed files with 43 additions and 33 deletions

View File

@@ -57,6 +57,8 @@ jQuery.fn.stick_in_parent = function() { return this; };
global.stubChannel = function (EditorApplication, returnObject) {
var App = EditorApplication;
App.getChannel = sinon.stub().returns(_.defaults(returnObject || {}, {
request: function () {
},
trigger: function () {
},
on: function () {