From 32101a608325617fc5afa896cd7388b643d1d512 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Sat, 15 Dec 2018 04:17:48 +0800 Subject: Make sure we clear the application settings after migration tests. --- spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/spec_helper.rb') 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| -- cgit v1.2.3