[rspec-users] session vs. controller.session

Scott Taylor scott at railsnewbie.com
Thu Jan 29 13:57:31 EST 2009

What exactly is the difference between using controller.session and  
session?  I though that session was just a proxy controller.session,  
but this irb/debug sessions show that it isn't:


When I call reset_session in the controller, I'm seeing the  
controller's session reset, but not the session() provided in the  
spec.  Is this intended behavior?


More information about the rspec-users mailing list