rubycas / rubycas-client

Ruby client for Yale's Central Authentication Service protocol -- an open source enterprise single sign on system for web applications.
http://code.google.com/p/rubycas-client/
Other
332 stars 217 forks source link

Create the tmp/sessions dir if it doesn't exist #46

Open adammck opened 12 years ago

adammck commented 12 years ago

Given that the directory is temporary, it seems reasonable to silently create it if it doesn't already exist. This just tripped me up because our deployment script wasn't creating the directory.

soupmatt commented 12 years ago

I would request one tweak to this. Instead of running the whole example set for the case when the session directory doesn't exist, can you just assert that it gets created?