summaryrefslogtreecommitdiff
path: root/spec/tasks
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-08-01 12:24:24 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-08-01 12:24:24 +0000
commit90cb2aab38341d308a65f79a4c11167c756ffc02 (patch)
tree0b0f41e598456f1f38042340824b679c2fbfb022 /spec/tasks
parentfb1baaa7864c05668a04053204bfff4772830627 (diff)
parent2c2609620356a4693ec96f988bc96cb4601be5e8 (diff)
downloadgitlab-ce-90cb2aab38341d308a65f79a4c11167c756ffc02.tar.gz
Merge branch '28283-legacy-storage-format' into 'master'
[CE] Added Legacy Storage format See merge request !13149
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/gitlab/backup_rake_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb
index 71580a788d0..fae92451b46 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -117,7 +117,7 @@ describe 'gitlab:app namespace rake task' do
describe 'backup creation and deletion using custom_hooks' do
let(:project) { create(:project, :repository) }
- let(:user_backup_path) { "repositories/#{project.path_with_namespace}" }
+ let(:user_backup_path) { "repositories/#{project.disk_path}" }
before(:each) do
@origin_cd = Dir.pwd
@@ -261,8 +261,8 @@ describe 'gitlab:app namespace rake task' do
%W{tar -tvf #{@backup_tar} repositories}
)
expect(exit_status).to eq(0)
- expect(tar_contents).to match("repositories/#{project_a.path_with_namespace}.bundle")
- expect(tar_contents).to match("repositories/#{project_b.path_with_namespace}.bundle")
+ expect(tar_contents).to match("repositories/#{project_a.disk_path}.bundle")
+ expect(tar_contents).to match("repositories/#{project_b.disk_path}.bundle")
end
end
end # backup_create task