[rspec-users] Given Logged In
smingins at elctech.com
Wed Apr 2 16:20:32 EDT 2008
I haven't had a chance to look at stories yet ... but can u not use
the AuthenticatedTestHelper login_as method?
On 2/04/2008, at 6:16 PM, Tim Haines wrote:
> Hi there,
> Given my recent problems with .should render_template after a second
> post, I'm wondering if there's a way I set the state as logged in
> inside a given step without posting to sessions/create? I can't
> seem to directly set sessions[:user_id]. I'm using
> This is a story as opposed to a spec..
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users