On Thu, May 12, 2011 at 10:32 AM, Chris Habgood <[email protected]> wrote:

> I have this in my admin controller:
>
> before_filter :login_required
>   before_filter :admin_required
>
>   def admin_required
>         current_user.is_admin?
>     end
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users


Hi, can you please paste the controller and controller spec?

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" 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/rspec?hl=en.

Reply via email to