[rspec-users] Problems mocking controller helpers with the last version.

Juanma Cervera lists at ruby-forum.com
Mon Sep 29 07:35:10 EDT 2008

Thanks Craig, but I think I don't understand completely.

"current_user" is a helper method provided by the plugin 
to access the @current_user variable as I understand.
It is defined in lib/authenticated_system.rb.
We use this helper to access the current logged-in user in the system 
from any view.

Do you think that I have to use the variable directly?


Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list