summaryrefslogtreecommitdiffstats
path: root/test/ui/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ui/base.rb')
-rw-r--r--test/ui/base.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ui/base.rb b/test/ui/base.rb
index 53c2e7755..556e35a46 100644
--- a/test/ui/base.rb
+++ b/test/ui/base.rb
@@ -94,11 +94,15 @@ module Redmine
setup do
clear_downloaded_files
+ Setting.delete_all
+ Setting.clear_cache
end
teardown do
Capybara.reset_sessions! # Forget the (simulated) browser state
Capybara.use_default_driver # Revert Capybara.current_driver to Capybara.default_driver
+ Setting.delete_all
+ Setting.clear_cache
end
end
end