Closed monbro closed 11 years ago
I had the issue, that I am using the ACL model for my functional tests as well.
As I had not initialised both collections (inside my test database), it was accepting creating masks any way. It should throw here some error, that would be way better.
I'm not sure I'm following this. The behavior of MongoDB is to create a collection automatically, if a collection does not exist.
your are right, sorry was my bad maybe
I had the issue, that I am using the ACL model for my functional tests as well.
As I had not initialised both collections (inside my test database), it was accepting creating masks any way. It should throw here some error, that would be way better.