On Tue, May 17, 2011 at 11:18 PM, Justin Ko <[email protected]> wrote:

>
>
> 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?
>
>
Also, what versions of Ruby, RSpec, and Rails are you using?

P.S. Welcome to RSpec!

-- 
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