Fernando Perez <[EMAIL PROTECTED]> writes:

>> 
>> I am using restful_authentication. I tried to look at their specs, but 
>> they are unreadable. So I am trying to throw together my own 
>> authentication mocker/stuber but with no luck.
>
> Just to clear things out, can you tell me which snippet is correct:
>
> 1)
> get :index
> response.should be_redirect
>
> 2)
> response.should be_redirect
> get :index
>
>
>
> It appears to me that 1) is correct, as 2) seems to be messing up all my 
> specs.

Yep, #1

Pat
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to