Added more comparison specs to data_mapper_adapter_spec.rb #839

wants to merge 1 commit into


None yet
2 participants

adrv commented Mar 16, 2013

I hope this small addition would compliment the spec.

@adrv adrv commented on the diff Mar 16, 2013

@@ -19,7 +19,7 @@
it "should pass true to `can?` when non false/nil is returned in block" do
@ability.can :read, :all
@ability.can :read, Symbol do |sym|
- "foo" # TODO test that sym is nil when no instance is passed

adrv Mar 16, 2013

The comment was removed since the required test is already placed just below this line.
Isn't it?

xhoy commented Apr 10, 2014

Dear submitter, Since cancan/raynB hasn't been active for more than 6 months and no body else then ryam himself has commit permissions the cancan project is on a stand still.
Since cancan has several issues including missing support for rails 4 cancan is moving forward to cancancan. More details on: #994

If your feel that your pull request or bug is still applicable (and hasn't been merged in to cancan) it would be really appreciated if you would 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