diff --git a/test/orm/mongoid.rb b/test/orm/mongoid.rb
index <HASH>..<HASH> 100644
--- a/test/orm/mongoid.rb
+++ b/test/orm/mongoid.rb
@@ -8,6 +8,6 @@ end
 
 class ActiveSupport::TestCase
   setup do
-    Mongoid.purge!
+    Mongoid.default_session.drop
   end
 end
Fix mongoid test failed problem