Slightly weird description for rspec matcher #799

eLod opened this Issue Dec 31, 2012 · 1 comment

2 participants


When using cancan's rspec be_able_to matcher like it { should be_able_to(:manage, User) } the description (with rspec -fd) becomes should be able to :manage and User(id: integer, ...) (notice the and between :manage and User).

There's a PR for 2.0 (#752) that includes a description that could be used for 1.x also.


Thanks for your submission! The ryanb/cancan repository has been inactive since Sep 06, 2013.
Since only Ryan himself has commit permissions, the CanCan project is on a standstill.

CanCan has many open issues, including missing support for Rails 4. To keep CanCan alive, an active fork exists at cancancommunity/cancancan. The new gem is cancancan. More info is available at #994.

If your pull request or issue is still applicable, it would be really appreciated if you resubmit it to CanCanCan.

We hope to see you on the other side!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment