diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-12-15 01:01:04 +0800 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-12-19 11:24:54 +0100 |
commit | 25ef6f51c9899cc26661a2daac7ca0d47b95d443 (patch) | |
tree | 18b1a6dce0d2f32cff459f514d1179931e920b4e /spec/spec_helper.rb | |
parent | 0ff27ce05960598e5a1c0a1115180db0feeb689a (diff) | |
download | gitlab-ce-25ef6f51c9899cc26661a2daac7ca0d47b95d443.tar.gz |
Use fake application settings for 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 fb3421b61d3..ae5284c071b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -216,6 +216,8 @@ 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 |