Skip to content

Commit

Permalink
Fix broken URI parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
injms committed Dec 2, 2020
1 parent 4b749e8 commit d40c0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/visual_regression_tests/all_components.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# component_links.each do |link|
component_links.first(2).last(1).each do |link|
slug = URI.parse(link)
next if slug.link == "/component-guide/govspeak" # skip Govspeak because it's just too long and times out
next if slug.path == "/component-guide/govspeak" # skip Govspeak because it's just too long and times out

visit "#{link}/preview"
name = title.gsub(/(: Default|) preview - Component Guide/, "")
Expand Down

0 comments on commit d40c0a8

Please sign in to comment.