diff --git a/tests/javascript/newsletter_editor/blocks/posts.spec.js b/tests/javascript/newsletter_editor/blocks/posts.spec.js index cf47dd20e4..5a8213c6cf 100644 --- a/tests/javascript/newsletter_editor/blocks/posts.spec.js +++ b/tests/javascript/newsletter_editor/blocks/posts.spec.js @@ -91,7 +91,7 @@ define([ }); it('has featured image position', function () { - expect(model.get('featuredImagePosition')).to.match(/^(belowTitle|aboveTitle|none)$/); + expect(model.get('featuredImagePosition')).to.match(/^(centered|left|right|alternate|none)$/); }); it('has an option to display author', function () { @@ -293,7 +293,7 @@ define([ it('renders', function () { expect(view.render).to.not.throw(); - expect(view.$('.mailpoet_content')).to.have.length(1); + expect(view.$('.mailpoet_posts_container')).to.have.length(1); }); });