summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-12-15 04:17:48 +0800
committerRémy Coutable <remy@rymai.me>2018-12-19 11:24:55 +0100
commit32101a608325617fc5afa896cd7388b643d1d512 (patch)
treeeb126cb84284ebf2e8217335ee0a9fb8d09e5920
parentc3641185f47eb7c775906a31f099460b34053aea (diff)
downloadgitlab-ce-32101a608325617fc5afa896cd7388b643d1d512.tar.gz
Make sure we clear the application settings after
migration tests.
-rw-r--r--spec/spec_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ae5284c071b..e8554377d77 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -223,6 +223,8 @@ RSpec.configure do |config|
config.after(:context, :migration) do
schema_migrate_up!
+
+ Gitlab::CurrentSettings.clear_in_memory_application_settings!
end
config.around(:each, :nested_groups) do |example|