Created
November 27, 2012 06:14
-
-
Save xirukitepe/4152676 to your computer and use it in GitHub Desktop.
Database Cleaner for MongoDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.before(:suite) do | |
DatabaseCleaner.strategy = :truncation | |
DatabaseCleaner.orm = "mongoid" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment