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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-19 21:10:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-19 21:10:06 +0300
commitb45b4fa37b88501538b4139ef9f2f2777414d630 (patch)
treec3de025a8db9ad2cfd056795bbded5054ad15261 /spec/support/migration.rb
parent2b5469a93eb16d5a24c02105e2251e65a75ba915 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/migration.rb')
-rw-r--r--spec/support/migration.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/migration.rb b/spec/support/migration.rb
index 24e2fc2ff31..3c359af886d 100644
--- a/spec/support/migration.rb
+++ b/spec/support/migration.rb
@@ -19,9 +19,13 @@ RSpec.configure do |config|
# Each example may call `migrate!`, so we must ensure we are migrated down every time
config.before(:each, :migration) do
use_fake_application_settings
+
+ schema_migrate_down!
end
config.after(:context, :migration) do
+ schema_migrate_up!
+
Gitlab::CurrentSettings.clear_in_memory_application_settings!
end
end