Update newsletter saving to reflect code review comments

- Switch to using full segment objects when saving newsletters
- Fix stale comment in newsletter editor's Newsletter model
- Fix typo in newsletter editor tests
This commit is contained in:
Tautvidas Sipavičius
2016-10-20 17:52:05 +03:00
parent cc03b631ff
commit 38f6c95059
7 changed files with 62 additions and 11 deletions

View File

@ -38,7 +38,7 @@ define([
});
describe('toJSON()', function() {
it('will only contain properties modifyable by the editor', function() {
it('will only contain properties modifiable by the editor', function() {
var model = new (ContentComponent.NewsletterModel)({
id: 19,
subject: 'some subject',