[rspec-users] story runner on restful_authentication question

Rick DeNatale rick.denatale at gmail.com
Tue Apr 29 06:46:23 EDT 2008


On Mon, Apr 28, 2008 at 4:16 PM, Bart Zonneveld <loop at superinfinite.com> wrote:
>
>  On 28 apr 2008, at 17:31, steven shingler wrote:
>
> >
> >  When "the user logs in with username and password" do
> >   post "/sessions/create", :user => { :login => @username, :password
> > => @password }
> >  end
> >
>
>  Try post_via_redirect...

No that will make his "should redirect to '$path" step fail since it
will eat the redirect response and follow it.

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/


More information about the rspec-users mailing list