refactor cancan ability mock