Hey. > I think I issued normal post request to login my users, that should > work. Somehow I couldn't find the right place to hook in, for > setting the session var or so.. iirc - but maybe I just didn't look > long enough :)
Yep. This is my 2 minutes test: http://pastie.org/389936 It fails in the assert. I need to find the right name of the session variable. Nevertheless this wasn't a priority, so I only invested a couple of minutes in this test. TF On Feb 13, 7:36 pm, solars <[email protected]> wrote: > Hey :) > > > >> I notice you don't mention anything about testing... > > 5 - I'm doing a lot of unit testing (models). I didn't analyse the > > test coverage, but I would like to get my hand on some figures. What > > tools are out there? > > I'm using rcov it's pretty cool and all I need > (rspec for testing) > > > 6 - I'm not testing controllers. I've tried to authenticate the user > > in a test but failed on the first attempt. I did't go for a second > > try, but I'm sure it wouldn't take more than half an hour to find the > > solution. I'll do some functional testing in the next iteration. > > I think I issued normal post request to login my users, that should > work. Somehow I couldn't find the right place to hook in, for > setting the session var or so.. iirc - but maybe I just didn't look > long enough :) > > greetings, > Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
