diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-11-08 10:46:47 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 12:04:49 +0100 |
commit | ba5697fd809563cb2fd619d7c50362303ab86434 (patch) | |
tree | 3aeacb4859798379b9a2ed1cf41356e49fb70cae /spec/support/test_env.rb | |
parent | 1756604f90588a746ce6df7e4386830db9b3a485 (diff) | |
download | gitlab-ce-ba5697fd809563cb2fd619d7c50362303ab86434.tar.gz |
Fix legacy migration test
Diffstat (limited to 'spec/support/test_env.rb')
-rw-r--r-- | spec/support/test_env.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb index fff120fcb88..b300b493f86 100644 --- a/spec/support/test_env.rb +++ b/spec/support/test_env.rb @@ -120,6 +120,7 @@ module TestEnv FileUtils.mkdir_p(repos_path) FileUtils.mkdir_p(backup_path) FileUtils.mkdir_p(pages_path) + FileUtils.mkdir_p(artifacts_path) end def clean_gitlab_test_path @@ -233,6 +234,10 @@ module TestEnv Gitlab.config.pages.path end + def artifacts_path + Gitlab.config.artifacts.path + end + # When no cached assets exist, manually hit the root path to create them # # Otherwise they'd be created by the first test, often timing out and |