baccigalupi/mockumentary — Issue #1: CanCan Ability class does not mock
Author: martinstreicher
Created: 2011-11-17 15:01:44+00:00
State: open

CanCan requires Ability.rb. Typically, this file is in app/models. This gives the rake task...

```
desc 'Build mockeries'
task :mock => :environment do
Mockumentary.introspect
Mockumentary.dump
end
```

... fits :

```
$ rake mock
undefined method `columns' for Ability:Class
```