title: RSpec: should have_content can't find text
body: <p>I have the following page</p>
  
  <pre><code>&lt;ul class="account_menu dropdown-menu"&gt;
      &lt;li class="divider"&gt;&lt;/li&gt;
      &lt;li class="current"&gt;&lt;span&gt;My account&lt;/span&gt;&lt;/li&gt;
      &lt;li class="account"&gt;&lt;a href="#"&gt;account-1 (Editor)&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Testing it with Cucumber using this step</p>
  
  <pre><code>within(scope) do
      page.should have_content(content)
  end
  </code></pre>
  
  <p>Test passes when content = 'account-1' and fails with content = 'My account'. Scope is both cases is 'account_menu'</p>
  
  <pre><code>And he should see "My account" within account menu
  
  expected to find text "My account" in "My Accountaccount-1 (Editor)"
  (RSpec::Expectations::ExpectationNotMetError)
  </code></pre>
  
  <ul>
  <li>rails 3.2.17</li>
  <li>rspec-rails 2.14.1</li>
  <li>capybara 2.1.0</li>
  </ul>
  
  <p>Why it can't find 'My account' text? Thanks</p>