Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martyn-w committed Apr 18, 2024
1 parent 5cd3a16 commit 858e6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/content_pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 858e6ea

Please sign in to comment.