title: How can I check that a form field is prefilled correctly using capybara?
body: <p>I have a field with a proper label that I can fill in with capybara without a problem:</p>
  
  <pre><code>fill_in 'Your name', with: 'John'
  </code></pre>
  
  <p>I'd like to check the value it has before filling it in and can't figure it out.</p>
  
  <p>If I add after the <code>fill_in</code> the following line:</p>
  
  <pre><code>find_field('Your name').should have_content('John')
  </code></pre>
  
  <p>That test fails, although the filling just before worked as I've verified by saving the page.</p>
  
  <p>What am I missing?</p>