From 6535f2ef75e3bf4c286f085b6a878b3ebd27e6b9 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 15 Jun 2020 09:41:11 +0100 Subject: [PATCH] Fixed regression tests refs https://github.com/TryGhost/Ghost/commit/937df2c7ecef09fcd585a6af6157d5105495a3b1 - some mobiledoc->html output with blank img alt attributes was missed in regression tests --- test/regression/importer/importer_spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/regression/importer/importer_spec.js b/test/regression/importer/importer_spec.js index d664f1eb41..f08ab9036a 100644 --- a/test/regression/importer/importer_spec.js +++ b/test/regression/importer/importer_spec.js @@ -1164,10 +1164,10 @@ describe('Integration: Importer', function () { posts.length.should.eql(2); posts[0].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[["markdown",{"cardName":"markdown","markdown":"## Post Content"}],["image",{"src":"source2","cardWidth":"not-wide"}]],"sections":[[10,0],[10,1]]}'); - posts[0].html.should.eql('

Post Content

\n
'); + posts[0].html.should.eql('

Post Content

\n
'); posts[1].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[["image",{"src":"source","cardWidth":"wide"}],["markdown",{"cardName":"markdown","markdown":"# Post Content"}]],"sections":[[10,0],[10,1]]}'); - posts[1].html.should.eql('

Post Content

\n'); + posts[1].html.should.eql('

Post Content

\n'); }); }); }); @@ -1506,10 +1506,10 @@ describe('1.0', function () { posts.length.should.eql(2); posts[0].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[["markdown",{"cardName":"markdown","markdown":"## Post Content"}],["image",{"src":"source2","cardWidth":"not-wide"}]],"sections":[[10,0],[10,1]]}'); - posts[0].html.should.eql('

Post Content

\n
'); + posts[0].html.should.eql('

Post Content

\n
'); posts[1].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[["image",{"src":"source","cardWidth":"wide"}],["markdown",{"cardName":"markdown","markdown":"# Post Content"}]],"sections":[[10,0],[10,1]]}'); - posts[1].html.should.eql('

Post Content

\n'); + posts[1].html.should.eql('

Post Content

\n'); }); }); });