Re: [rspec-users] Setting session values

2008-11-02 Thread Steven Line
Steve wrote: On Wed, 24 Oct 2007 21:29:39 -0400, Jonathan Linowes wrote: i've done this in controller specs session[:whatever] = something do_it Yeah, I did that, and it was turning up nil when I actually made the request. I know your post was from over a year ago, but I'll post

[rspec-users] Setting session values

2007-10-24 Thread Steve
Okay, I give up. I have been trying to set session values in a controller, but no matter what, once the request is made and inside the controller, the session is empty. What's the correct way? I have tried session['whatever'] = something controller.stub!(:session).and_return(session) I tried

Re: [rspec-users] Setting session values

2007-10-24 Thread Steve
On Wed, 24 Oct 2007 21:29:39 -0400, Jonathan Linowes wrote: i've done this in controller specs session[:whatever] = something do_it Yeah, I did that, and it was turning up nil when I actually made the request. ___ rspec-users mailing list