ignore cannot clause with attributes when not checking for with attributes - closes #406
This commit is contained in:
@@ -345,6 +345,7 @@ describe CanCan::Ability do
|
||||
@ability.can?(:update, :books, :author).should be_false
|
||||
end
|
||||
|
||||
|
||||
# Hash Association
|
||||
|
||||
it "checks permission through association when hash is passed as subject" do
|
||||
|
||||
Reference in New Issue
Block a user