title: functional test for rails controller private method
body: <p>I have a private method in my controller. which is used for some database update. this method i am calling from another controller method. and it works fine.</p>
  
  <p>But when i am trying to write a test case for that method then It is tripping on accessing (session variable and params) in my functional all other methods are working fine the problem is only with private method?</p>
  
  <p>In my setup method in functional test, I am setting session also.?</p>