Tests: no-shaddow

This commit is contained in:
Amine Ben hammou
2017-10-25 14:52:53 +00:00
parent 2ac32484e1
commit 4dc9004303
16 changed files with 156 additions and 178 deletions

View File

@ -45,7 +45,8 @@ define([
describe('toJSON()', function () {
it('will only contain properties modifiable by the editor', function () {
var model = new (ContentComponent.NewsletterModel)({
var json;
model = new (ContentComponent.NewsletterModel)({
id: 19,
subject: 'some subject',
preheader: 'some preheader',
@ -54,7 +55,7 @@ define([
someField: 'someValue'
});
var json = model.toJSON();
json = model.toJSON();
expect(json.id).to.equal(19);
expect(json.subject).to.equal('some subject');
expect(json.preheader).to.equal('some preheader');