mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-21 19:22:18 -05:00
make permission check test more explicit, as everyone now has lists as well
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user