Added more comparison specs to data_mapper_adapter_spec.rb #839

Open
wants to merge 1 commit into from

2 participants

@adrv

I hope this small addition would compliment the spec.

@adrv adrv commented on the diff Mar 16, 2013
spec/cancan/ability_spec.rb
@@ -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
adrv added a note Mar 16, 2013

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

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

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 (https://github.com/cancancommunity/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