response.body == filename?

I'm using RSpec.

describe UserController do
  it "should require ..." do
    post :login, {:name => 'root'}
    puts response.body.to_yaml

....--- user/login


What's the question here... I'm confused.

I'm expecting the body portion of the html page. For instance, on an
action that redirects, I've seen
--- <html><body>You are being <a href="
user/">redirected</a>.</body></html> (for response, not just

I cannot do any tests on the body of the failing response because it
is just the string 'user/login'.

BTW, I have called integrate_views, so that should not be the problem.

Also, it appears that