« Return to Thread: story runner on restful_authentication question

Re: story runner on restful_authentication question

by Bart Zonneveld :: Rate this Message:

Reply to Author | View in Thread


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

> On Mon, Apr 28, 2008 at 4:16 PM, Bart Zonneveld  
> <loop@...> 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@...
http://rubyforge.org/mailman/listinfo/rspec-users

 « Return to Thread: story runner on restful_authentication question