diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-03-24 16:52:43 +0100 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-03-29 14:48:05 +0200 |
commit | eee07f1c7cacdd24cbd66917ba66e703128f65c6 (patch) | |
tree | 49001f7c4d98505ead7f2d1b34daf584311cbe08 /spec/tasks | |
parent | 8f50ef5e75fedc6f8c2a5b1c52e119c4c1df7c4e (diff) | |
download | gitlab-ce-eee07f1c7cacdd24cbd66917ba66e703128f65c6.tar.gz |
Expand relative paths in storages
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/backup_rake_spec.rb | 4 |
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) |