On 6/26/07, Anonymous <[EMAIL PROTECTED]> wrote:
> I am using Acts as Authenticated and I need to call current_user in my views.
> How do I mock current_user and other methods of Acts as Authenticated in my 
> view specs?

Hi Anon

See "Mocking and stubbing helpers"
http://rspec.rubyforge.org/documentation/rails/writing/views.html

Aslak

> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to