From fe473266bf66d13c4d4a992e00c6808184feae1c Mon Sep 17 00:00:00 2001 From: Mark Taylor <138604938+mtaylorgds@users.noreply.github.com> Date: Thu, 31 Oct 2024 11:20:52 +0000 Subject: [PATCH] Fix failing test after dependency update The HTML generated from markdown has changed slightly. It doesn't seem to have a material impact, so I've updated the test with the new HTML that is produced. --- spec/helpers/application_helper_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index 8fddc53cd..13cf1ca71 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -53,7 +53,7 @@ describe "#render_markdown" do it "converts markdown to html" do text = "This is some **bold** text with a [link](/a-page)" - expected_html = "\n
\n

This is some bold text with a link

\n\n
" + expected_html = "
\n

This is some bold text with a link

\n\n
" expect(render_markdown(text)).to eq(expected_html) end