summaryrefslogtreecommitdiff
path: root/spec/tasks/gitlab/backup_rake_spec.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-03-24 16:52:43 +0100
committerJacob Vosmaer <jacob@gitlab.com>2017-03-29 14:48:05 +0200
commiteee07f1c7cacdd24cbd66917ba66e703128f65c6 (patch)
tree49001f7c4d98505ead7f2d1b34daf584311cbe08 /spec/tasks/gitlab/backup_rake_spec.rb
parent8f50ef5e75fedc6f8c2a5b1c52e119c4c1df7c4e (diff)
downloadgitlab-ce-eee07f1c7cacdd24cbd66917ba66e703128f65c6.tar.gz
Expand relative paths in storages
Diffstat (limited to 'spec/tasks/gitlab/backup_rake_spec.rb')
-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)