From 858e6ea2c538d5c6b1579e094c6a3d4f6f4c99d9 Mon Sep 17 00:00:00 2001 From: Martyn Whitwell Date: Thu, 18 Apr 2024 17:17:05 +0100 Subject: [PATCH] test fix --- spec/features/content_pages_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/content_pages_spec.rb b/spec/features/content_pages_spec.rb index e87232deef..caf67d4846 100644 --- a/spec/features/content_pages_spec.rb +++ b/spec/features/content_pages_spec.rb @@ -134,7 +134,7 @@ def css_to_xpath(css_selector) .reject { |href| href.start_with?(Regexp.union("http:", "https:", "tel:", "mailto:")) } .reject { |href| href.start_with?("/blog/tag") } .reject { |href| href.match?("static/") } - .reject { |href| href.match?(Regexp.union("privacy-policy", "events", "javascript")) } + .reject { |href| href.match?(Regexp.union("privacy-policy", "events", "javascript", "browse")) } .select { |href| href.start_with?(Regexp.union("/", /\w+/)) } .uniq .each do |href|