Commit 32101a60 authored by Lin Jen-Shin's avatar Lin Jen-Shin Committed by Rémy Coutable

Make sure we clear the application settings after

migration tests.
parent c3641185
...@@ -223,6 +223,8 @@ RSpec.configure do |config| ...@@ -223,6 +223,8 @@ RSpec.configure do |config|
config.after(:context, :migration) do config.after(:context, :migration) do
schema_migrate_up! schema_migrate_up!
Gitlab::CurrentSettings.clear_in_memory_application_settings!
end end
config.around(:each, :nested_groups) do |example| config.around(:each, :nested_groups) do |example|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment