 <p>rails integration tests should be written so that the on case tests the one single request - response cycle. we can check redirects. but if you have to do something like</p> <p>get '/something', {:status=>'any_other'}, @header </p> <p>get '/something', {:status=>'ok'}, @header</p> <p>You should write two different cases for this. </p>