Fixed bug: Setting changes in RSpec test are leaking.

This commit is contained in:
Thorsten Eckel 2018-07-09 11:26:19 +02:00
parent 132a88005f
commit b96de74964

View file

@ -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