RSpec::HTML provides a selection of matchers to help you verify your HTML content.
match_text
contain_tag
exist
be_checked