The CookieJar in our tests is the abstraction you're looking for, but it's not exposed. Carl?
Sent from my iPhone On Dec 7, 2008, at 9:22 AM, Dan <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm working on adding a "remember me" authentication strategy that > will check for a login token in a cookie and if it's valid, create a > session and extend the token cookie expiration date by two weeks. Is > there an easy way to test that the token cookie expiration date is > being set correctly? I suppose I could do a request and then parse > the rack response for the set-cookie header, but it seems like there > should be a simpler way. Any suggestions? > > Thanks, > Dan > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
