From 33bd36b4d607eeb787d8d5fd099f8cb2709ba637 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 16 Feb 2021 16:09:57 +0000 Subject: [PATCH] Updated mobiledoc tests to expect image width/height attributes refs https://github.com/TryGhost/Ghost/commit/4516577c3e7fc22d241e89e59e108753d71b1556 --- test/unit/lib/mobiledoc_spec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/lib/mobiledoc_spec.js b/test/unit/lib/mobiledoc_spec.js index 1c90d5ae1e..2dd84a30d9 100644 --- a/test/unit/lib/mobiledoc_spec.js +++ b/test/unit/lib/mobiledoc_spec.js @@ -78,7 +78,7 @@ describe('lib/mobiledoc', function () { }; mobiledocLib.mobiledocHtmlRenderer.render(mobiledoc) - .should.eql('

One
Two

Markdown card

\n

Some markdown

\n

Three


Birdies

Four

HTML card

\n

Some HTML

Embed card

'); + .should.eql('

One
Two

Markdown card

\n

Some markdown

\n

Three


Birdies

Four

HTML card

\n

Some HTML

Embed card

'); }); it('renders according to ghostVersion', function () { @@ -136,7 +136,7 @@ describe('lib/mobiledoc', function () { }; mobiledocLib.mobiledocHtmlRenderer.render(mobiledoc) - .should.eql('
Birdies
'); + .should.eql('
Birdies
'); }); it('does not render srcsets for non-resizable images', function () { @@ -156,7 +156,7 @@ describe('lib/mobiledoc', function () { }; mobiledocLib.mobiledocHtmlRenderer.render(mobiledoc) - .should.eql('
'); + .should.eql('
'); }); it('does not render srcsets when sharp is not available', function () { @@ -179,7 +179,7 @@ describe('lib/mobiledoc', function () { }; mobiledocLib.mobiledocHtmlRenderer.render(mobiledoc) - .should.eql('
'); + .should.eql('
'); }); it('does not render srcsets with incompatible storage engine', function () { @@ -202,7 +202,7 @@ describe('lib/mobiledoc', function () { }; mobiledocLib.mobiledocHtmlRenderer.render(mobiledoc) - .should.eql('
'); + .should.eql('
'); }); });