 <p>If you look at the <a href="https://www.relishapp.com/rspec/rspec-rails/v/2-14/docs/controller-specs/render-views" rel="nofollow">relish documentation for the current 2.14 version of Rspec</a> you'll see that they're using <code>match</code> now instead:</p> <pre><code>expect(response.body).to match /Listing widgets/m </code></pre> <p>Using the <code>should</code> syntax, this should work:</p> <pre><code>response.body.should match(/Welcome to the home page/) </code></pre>