Skip to content

Commit

Permalink
Merge pull request #2148 from alphagov/dependabot/bundler/govuk_publi…
Browse files Browse the repository at this point in the history
…shing_components-38.1.0

build(deps): bump govuk_publishing_components from 37.9.1 to 38.1.0
  • Loading branch information
mtaylorgds authored Apr 25, 2024
2 parents c8684f4 + 9084659 commit 520de72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ GEM
govuk_personalisation (0.16.0)
plek (>= 1.9.0)
rails (>= 6, < 8)
govuk_publishing_components (37.9.1)
govuk_publishing_components (38.1.0)
govuk_app_config
govuk_personalisation (>= 0.7.0)
kramdown
Expand Down Expand Up @@ -578,7 +578,7 @@ GEM
redis-namespace (1.11.0)
redis (>= 4)
regexp_parser (2.9.0)
reline (0.5.1)
reline (0.5.2)
io-console (~> 0.5)
request_store (1.6.0)
rack (>= 1.4)
Expand Down Expand Up @@ -659,9 +659,9 @@ GEM
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
sentry-rails (5.17.2)
sentry-rails (5.17.3)
railties (>= 5.0)
sentry-ruby (~> 5.17.2)
sentry-ruby (~> 5.17.3)
sentry-ruby (5.17.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand Down
2 changes: 1 addition & 1 deletion spec/helpers/application_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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<div class=\"gem-c-govspeak govuk-govspeak \" data-module=\"govspeak ga4-link-tracker\" data-ga4-track-links-only=\"\" data-ga4-limit-to-element-class=\"call-to-action, info-notice, help-notice, advisory\" data-ga4-link=\"{&quot;event_name&quot;:&quot;navigation&quot;,&quot;type&quot;:&quot;callout&quot;}\">\n <p>This is some <strong>bold</strong> text with a <a href=\"/a-page\">link</a></p>\n\n</div>"
expected_html = "\n<div class=\"gem-c-govspeak govuk-govspeak \" data-module=\"govspeak\">\n <p>This is some <strong>bold</strong> text with a <a href=\"/a-page\">link</a></p>\n\n</div>"

expect(render_markdown(text)).to eq(expected_html)
end
Expand Down

0 comments on commit 520de72

Please sign in to comment.