Fast Rails tests with CanCan

from blog Steve Klabnik, | ↗ original
Dec 12 2011 If you haven’t used it, CanCan is a great library for Rails that handles authorization for you. Its calling card is simplicity; just do this: class Ability include CanCan::Ability def...