diff --git a/Gemfile b/Gemfile index ccc4739de..4dc67c4da 100644 --- a/Gemfile +++ b/Gemfile @@ -17,7 +17,7 @@ gem 'gds-api-adapters', '~> 52.7' gem 'govuk_ab_testing', '~> 2.4' gem 'govuk_app_config', '~> 1.8' gem 'govuk_frontend_toolkit', '~> 7.6' -gem 'govuk_publishing_components', '~> 9.9.0' +gem 'govuk_publishing_components', '~> 9.9.1' gem 'plek', '~> 2.1' gem 'slimmer', '~> 13.0' diff --git a/Gemfile.lock b/Gemfile.lock index 305af6e9e..c0f82c12a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -126,7 +126,7 @@ GEM govuk_frontend_toolkit (7.6.0) railties (>= 3.1.0) sass (>= 3.2.0) - govuk_publishing_components (9.9.0) + govuk_publishing_components (9.9.1) govspeak (>= 5.0.3) govuk_app_config govuk_frontend_toolkit @@ -365,7 +365,7 @@ DEPENDENCIES govuk_ab_testing (~> 2.4) govuk_app_config (~> 1.8) govuk_frontend_toolkit (~> 7.6) - govuk_publishing_components (~> 9.9.0) + govuk_publishing_components (~> 9.9.1) govuk_schemas (~> 3.2) htmlentities (~> 4.3) jasmine-rails diff --git a/test/integration/document_collection_test.rb b/test/integration/document_collection_test.rb index b0b464413..ae5a257e5 100644 --- a/test/integration/document_collection_test.rb +++ b/test/integration/document_collection_test.rb @@ -79,7 +79,7 @@ class DocumentCollectionTest < ActionDispatch::IntegrationTest documents = @content_item["links"]["documents"] documents.each do |doc| - assert page.has_css?('.gem-c-document-list__item-title a', text: doc["title"]) + assert page.has_css?('.gem-c-document-list__item-title', text: doc["title"]) end assert page.has_css?('.gem-c-document-list .gem-c-document-list__item', count: documents.count) @@ -101,7 +101,7 @@ class DocumentCollectionTest < ActionDispatch::IntegrationTest groups = page.all('.gem-c-document-list') assert page.has_css?('[data-module="track-click"]'), count: groups.length - first_section_links = groups.first.all('.gem-c-document-list__item-title a') + first_section_links = groups.first.all('.gem-c-document-list__item-title') first_link = first_section_links.first assert_equal(