summaryrefslogtreecommitdiff
path: root/spec/models/project_spec.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-11-30 21:34:31 +0000
committerNick Thomas <nick@gitlab.com>2017-12-04 09:42:14 +0000
commit327a9898a226a098b18e80e4950702064ecd38f1 (patch)
treee6b48be28658d8052e7a5121f7893648b83a2843 /spec/models/project_spec.rb
parente0f84130567dc34edf1ae75fcf595e24991d2fa9 (diff)
downloadgitlab-ce-327a9898a226a098b18e80e4950702064ecd38f1.tar.gz
Fix the fork project functionality for projects with hashed storage
Note the dependency on gitlab-shell v5.10.0
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r--spec/models/project_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 521b7bd70ba..34e160aa599 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -1717,8 +1717,7 @@ describe Project do
expect(RepositoryForkWorker).to receive(:perform_async).with(
project.id,
forked_from_project.repository_storage_path,
- forked_from_project.disk_path,
- project.namespace.full_path).and_return(import_jid)
+ forked_from_project.disk_path).and_return(import_jid)
expect(project.add_import_job).to eq(import_jid)
end