Skip to content

Commit

Permalink
Merge pull request #376 from woylie/box-styles
Browse files Browse the repository at this point in the history
add assertion
  • Loading branch information
woylie authored Sep 15, 2024
2 parents 50ff2ac + ff13723 commit 83e9424
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 83e9424

Please sign in to comment.