Skip to content

Commit f5ccc44

Browse files
committed
Fix tests
1 parent 8feced9 commit f5ccc44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/petal/carousel_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ defmodule PetalComponents.CarouselTest do
111111
""")
112112

113113
# Check for link elements in the rendered HTML
114-
assert html =~ "to=\"/components\""
114+
assert html =~ "href=\"/components\""
115115
assert html =~ "href=\"https://github.com\""
116116
assert html =~ "pc-carousel__link"
117117
assert html =~ "Internal Link"
@@ -179,7 +179,7 @@ defmodule PetalComponents.CarouselTest do
179179
""")
180180

181181
# Verify links exist and have proper structure
182-
assert html =~ "to=\"/components\""
182+
assert html =~ "href=\"/components\""
183183
assert html =~ "class=\"pc-carousel__link\""
184184

185185
# Verify external link with proper attributes

0 commit comments

Comments
 (0)