Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-12-14 23:17:48 +0300
committerRémy Coutable <remy@rymai.me>2018-12-19 13:24:55 +0300
commit32101a608325617fc5afa896cd7388b643d1d512 (patch)
treeeb126cb84284ebf2e8217335ee0a9fb8d09e5920 /spec/spec_helper.rb
parentc3641185f47eb7c775906a31f099460b34053aea (diff)
Make sure we clear the application settings after
migration tests.
Diffstat (limited to 'spec/spec_helper.rb')
-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|