Matthew KocherMatthew Kocher
Standup 12/17/09 - Rspec/Rack eats your cookies
edit Posted by Matthew Kocher on Thursday December 17, 2009 at 09:13AM

Interesting Things

  • The combination of Rspec and rack assume everything is a single domain, so you can't check cookies for xyz.foo.com and foo.com separately. Should you encounter this, be prepared to check the header manually. You also won't be able to delete more than one cookie at a time.