Closed
Description
Steps to reproduce
After upgrading from rails 7.0.4 to 7.0.7
assert_select "foo", "x", count: 0 #no longer works
switching to:
assert_select "foo", text: "x", count: 0 #this has different behavior from the above statement
Expected behavior
i want to test that there is no tag with the specified text.
Actual behavior
I can no longer do this with assert_select on the new rails version.
Metadata
Metadata
Assignees
Labels
No labels