Skip to content

Commit

Permalink
add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Sep 15, 2024
1 parent 50ff2ac commit ff13723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/doggo/components_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ defmodule Doggo.ComponentsTest do

section = find_one(html, "section:root")
assert attribute(section, "class") == "box"
assert attribute(section, "aria-labelledby") == nil
body = find_one(section, ".box-body")
assert text(body) == "Content"
end
Expand Down

0 comments on commit ff13723

Please sign in to comment.