diff --git a/spec/functional/mongoid/safety_spec.rb b/spec/functional/mongoid/safety_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/mongoid/safety_spec.rb
+++ b/spec/functional/mongoid/safety_spec.rb
@@ -137,6 +137,10 @@ describe Mongoid::Safety do
           Mongoid.persist_in_safe_mode = true
         end
 
+        after do
+          Mongoid.persist_in_safe_mode = false
+        end
+
         describe ".create" do
 
           before do
Don't polute other tests with persist_in_safe_mode setting.