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:
authorJacob Vosmaer <jacob@gitlab.com>2017-03-24 18:52:43 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-03-29 15:48:05 +0300
commiteee07f1c7cacdd24cbd66917ba66e703128f65c6 (patch)
tree49001f7c4d98505ead7f2d1b34daf584311cbe08 /spec/tasks
parent8f50ef5e75fedc6f8c2a5b1c52e119c4c1df7c4e (diff)
Expand relative paths in storages
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/gitlab/backup_rake_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb
index 10458966cb9..adb4ae8bbe9 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -227,8 +227,8 @@ describe 'gitlab:app namespace rake task' do
FileUtils.mkdir('tmp/tests/default_storage')
FileUtils.mkdir('tmp/tests/custom_storage')
storages = {
- 'default' => { 'path' => 'tmp/tests/default_storage' },
- 'custom' => { 'path' => 'tmp/tests/custom_storage' }
+ 'default' => { 'path' => Settings.absolute('tmp/tests/default_storage') },
+ 'custom' => { 'path' => Settings.absolute('tmp/tests/custom_storage') }
}
allow(Gitlab.config.repositories).to receive(:storages).and_return(storages)