Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

softRemovable and Xolvio/meteor-cucumber #29

Open
JohanTh opened this issue Jul 9, 2015 · 1 comment
Open

softRemovable and Xolvio/meteor-cucumber #29

JohanTh opened this issue Jul 9, 2015 · 1 comment

Comments

@JohanTh
Copy link

JohanTh commented Jul 9, 2015

When doing cucumber tests with the package Xolvio/meteor-cucumber the softy removed documents will not be considered as removed. Are there any way to disable softRemovable on a document before I reset my test by doing a Collection.remove({}) so that the document really gets removed?

@nirleka
Copy link

nirleka commented Aug 7, 2015

Because this extension is using collection-hooks, I think this extension also support direct access (circumventing hook) from collection-hooks.

So you can use collection.direct.remove({_id: "test"}); to delete document without triggering the softly removed document behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants