diff --git a/spec/support/cache.rb b/spec/support/cache.rb index ff2569724..bb1023744 100644 --- a/spec/support/cache.rb +++ b/spec/support/cache.rb @@ -4,5 +4,9 @@ RSpec.configure do |config| # be able to recognize the rollbacks # done by RSpec Cache.clear + + # clear Setting cache to prevent leaking + # of Setting changes from previous test examples + Setting.reload end end