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.
Other expectations on the response object, such as response.should render_template('index')
pass without any problems.
Have any of you encountered this problem before? Perhaps the response html can be obtained in some other way?
As for versions, Rails 2.1.0, RSpec 1.2.7.