diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-12-15 04:17:48 +0800 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-12-19 11:24:55 +0100 |
commit | 32101a608325617fc5afa896cd7388b643d1d512 (patch) | |
tree | eb126cb84284ebf2e8217335ee0a9fb8d09e5920 /spec/spec_helper.rb | |
parent | c3641185f47eb7c775906a31f099460b34053aea (diff) | |
download | gitlab-ce-32101a608325617fc5afa896cd7388b643d1d512.tar.gz |
Make sure we clear the application settings after
migration tests.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
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| |