make permission check test more explicit, as everyone now has lists as well

This commit is contained in:
James Smith committed 2026-03-06 11:32:09 +00:00
1 parent 78a7c0ef3a
commit 76ec6db079
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ shared_examples "Caber::Subject" do
end
it "has permission in list" do
expect(caber_subject.caber_relations.length).to be 1
expect(caber_subject.caber_relations.where(object: model).length).to eq 1
end
it "has permission on object" do