[rspec-users] cucumber is_admin? testing

Patrick J. Collins patrick at collinatorstudios.com
Wed Nov 23 11:06:10 EST 2011


> I don't know where to put this post, but theme of this more similar to
> my issue.
The cucumber mailing list is:
http://groups.google.com/group/cukes

But I can tell you that your problem is a scope issue.  Your is_admin?  method
that is added to cucumber's world does not have access to your application
controller's @current_user variable.

Patrick J. Collins
http://collinatorstudios.com


More information about the rspec-users mailing list