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!
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
