title: Testing the text content of a div in ruby on rails 4
body: <p>I can't find a way to test the content of a div container in Ruby on Rails 4.</p>
  
  <p>The following test is finding the right div :</p>
  
  <pre><code>    assert_select 'div#error_explanation'
  </code></pre>
  
  <p>but I can't figure how to test that some word (eg "Title") is included in the select.</p>
  
  <p>Thanks for your help</p>