Skip to content

Commit

Permalink
Add additional test for short urls
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-janeapp committed Feb 6, 2024
1 parent c70c54b commit 3e0cf8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/fixtures/attributes.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
(max-width: 1000px) 800px,
1200px"
data-autocomplete-min-length-value=2
data-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something">
data-short-url="//test.ccom/?q=v"
data-long-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something">
3 changes: 2 additions & 1 deletion test/fixtures/attributes.html.expected.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
srcset="image-480w.jpg 480w, image-800w.jpg 800w, image-1200w.jpg 1200w"
sizes="(max-width: 600px) 480px, (max-width: 1000px) 800px, 1200px"
data-autocomplete-min-length-value="2"
data-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something"
data-short-url="//test.ccom/?q=v"
data-long-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something"
>

0 comments on commit 3e0cf8b

Please sign in to comment.