Kura Monni wrote:
> current_user is defined in the ApplicationController class and it's set 
> as a helper_method, but apparently it's still not visible in the Webrat 
> steps.

Check this out 
http://programmers-blog.com/2010/04/21/cucumber-vs-webrat-vs-current_user-from-authenticatedsystem

PS. Sorry for resurrecting the thread. I bounced with this stuff for 
like 2 hours and found nothing. Hope others find the solution useful.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to