[rspec-users] Cookies in RSpec

Nathan Sutton nathan.sutton at gmail.com
Thu Oct 4 07:37:10 EDT 2007

So how do you work with cookies properly in rspec now?  I noticed in  
the docs that it mentions session, assigns, and flash, but nothing of  
cookie.  I'm using edge rails so I'm concerned about changes to the  
cookie mechanisms.  I need to assign values into the cookie (a  
remember token for restful authentication) so that I can have it log  
in by cookie.  here is my spec for it:


I'm using AR-stored-sessions, if that matters.


More information about the rspec-users mailing list