On 29-apr-2008, at 12:46, Rick DeNatale wrote:

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.

Ack, brainfart. I mixed up the two in my head.

gr,
bartz
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to