[rspec-users] story runner on restful_authentication question

Bart Zonneveld loop at superinfinite.com
Tue Apr 29 06:49:18 EDT 2008


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

> 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.

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

gr,
bartz


More information about the rspec-users mailing list