ryanb/cancan — Issue #490: Customize RSpec specify documentation output
Author: afriqs
Created: 2011-10-12 09:50:52+00:00
State: open

Hi,

Not a critical issue but would be nice for readability ;)

I am used to using ```specify``` RSpec keyword to test some abilities as for example:
```specify { @ability.should be_able_to(:create, User) }```

The output of this test is, when it passes:
```should be able to :create and User(id: integer, name: string, created_at: datetime, updated_at: datetime)```

I am looking forward a way to customize this output as for example ```should be able to create a user``` which would be more friendly I think. I'm not sur I am on the good way with [RSpec custom formatters](https://www.relishapp.com/rspec/rspec-core/v/2-6/docs/formatters/custom-formatters) but will try, except if anybody has a cleaner idea ;)