On Mon, Apr 28, 2008 at 4:16 PM, Bart Zonneveld <[EMAIL PROTECTED]> 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/
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to