As I understand it,
assert_select is a Capybara method for testing the state of an HTML
<select> element, and
assert_selector is for testing the presence of any HTML element and its inner text.
Why then, does:
assert_select "h1", "Foobar"
h1 is not a
<select> element? The Rails Guide seems inconsistent here.