Tests vars-on-top

This commit is contained in:
Amine Ben hammou
2017-09-27 15:10:51 +00:00
parent 4e2e9f6f8f
commit 9b41641e97
17 changed files with 88 additions and 51 deletions

View File

@@ -78,6 +78,7 @@ define([
describe('transformation to json', function() {
it('includes content, globalStyles and initial newsletter fields', function() {
var json;
var dataField = {
containerModelField: 'containerModelValue'
};
@@ -106,7 +107,7 @@ define([
}
};
};
var json = ContentComponent.toJSON();
json = ContentComponent.toJSON();
expect(json).to.deep.equal(_.extend({
body: {
content: dataField,