Rename Wordpress component to Communication component, fix preview JS

syntax
This commit is contained in:
Tautvidas Sipavičius
2015-12-16 18:06:28 +02:00
parent f02699158f
commit 132e6d3342
10 changed files with 58 additions and 52 deletions

View File

@@ -81,10 +81,10 @@ define([
};
var json = ContentComponent.toJSON();
expect(json).to.deep.equal(_.extend({
body: JSON.stringify({
body: {
content: dataField,
globalStyles: stylesField
}),
},
}, newsletterFields));
});
});