diff --git a/Gemfile b/Gemfile index e392b3d95..0a006c296 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem "dalli" gem "gds-api-adapters", "~> 63.5" gem "govuk_ab_testing", "~> 2.4" gem "govuk_app_config", "~> 2.1" -gem "govuk_publishing_components", "~> 21.38.0" +gem "govuk_publishing_components", "~> 21.38.3" gem "htmlentities", "~> 4.3" gem "plek", "~> 3.0" gem "rack_strip_client_ip", "~> 0.0.2" diff --git a/Gemfile.lock b/Gemfile.lock index 94de56fc4..8d6488082 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -106,7 +106,7 @@ GEM sentry-raven (>= 2.7.1, < 3.1.0) statsd-ruby (~> 1.4.0) unicorn (>= 5.4, < 5.6) - govuk_publishing_components (21.38.0) + govuk_publishing_components (21.38.3) gds-api-adapters govuk_app_config kramdown @@ -317,7 +317,7 @@ GEM thor (1.0.1) thread_safe (0.3.6) tilt (2.0.10) - tzinfo (1.2.6) + tzinfo (1.2.7) thread_safe (~> 0.1) uglifier (4.2.0) execjs (>= 0.3.0, < 3) @@ -366,7 +366,7 @@ DEPENDENCIES gds-api-adapters (~> 63.5) govuk_ab_testing (~> 2.4) govuk_app_config (~> 2.1) - govuk_publishing_components (~> 21.38.0) + govuk_publishing_components (~> 21.38.3) govuk_schemas (~> 4.0) govuk_test htmlentities (~> 4.3) diff --git a/test/integration/answer_test.rb b/test/integration/answer_test.rb index b1bb1150a..209e872f4 100644 --- a/test/integration/answer_test.rb +++ b/test/integration/answer_test.rb @@ -25,7 +25,7 @@ class AnswerTest < ActionDispatch::IntegrationTest setup_and_visit_content_item("answer") faq_schema = find_structured_data(page, "FAQPage") - assert_equal faq_schema["headline"], @content_item["title"] + assert_equal faq_schema["name"], @content_item["title"] assert_not_equal faq_schema["mainEntity"], [] end end