title: RSpec controller testing - blank response.body
body: <p>I am stuck with a problem when testing my controllers with RSpec - the response.body call always returns an empty string. In browser everything renders correctly, and cucumber feature tests seem to get it right, but RSpec fails each and every time.</p>
  
  <p>Other expectations on the response object, such as <code>response.should render_template('index')</code> pass without any problems.</p>
  
  <p>Have any of you encountered this problem before? Perhaps the response html can be obtained in some other way?</p>
  
  <p>As for versions, Rails 2.1.0, RSpec 1.2.7.</p>