On Mon, Sep 8, 2008 at 10:49 PM, Eric Harris-Braun <[EMAIL PROTECTED]> wrote: > Thanks David for the very detailed response. > > I see what you mean about why this should be hard to do. In fact > perhaps what I should do instead is simply specify the user-login part > in my story instead of skipping it. I didn't at first because its a > pain, i.e. sending the sessions/create post and then saving the sessions > cookie and then sending it along with the post I really want to test. > > Are there any best-practices or examples of how folks accomplish this > task?
You should not need to save any cookies. You should be able to simply log in and then go to the secure page. Have you tried just doing that? > > Thanks, > > -Eric > -- > Earth is a beta site. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users