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-09-28 20:07:22 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-09-29 19:27:06 +0300
commite5fecc3a377c458e49751e3d2eacfb52972e59c6 (patch)
tree9cee02474e9348d99f85d30acea61aafb7a46046 /spec/lib/gitlab/workhorse_spec.rb
parentc49d19a5dc058a670bdac1e23579fbb44c60bec4 (diff)
Create repositories via Gitaly
Diffstat (limited to 'spec/lib/gitlab/workhorse_spec.rb')
-rw-r--r--spec/lib/gitlab/workhorse_spec.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb
index a333ae33972..5708aa6754f 100644
--- a/spec/lib/gitlab/workhorse_spec.rb
+++ b/spec/lib/gitlab/workhorse_spec.rb
@@ -214,15 +214,12 @@ describe Gitlab::Workhorse do
end
it 'includes a Repository param' do
- repo_param = { Repository: {
+ repo_param = {
storage_name: 'default',
- relative_path: project.full_path + '.git',
- git_object_directory: '',
- git_alternate_object_directories: [],
- gl_repository: ''
- } }
+ relative_path: project.full_path + '.git'
+ }
- expect(subject).to include(repo_param)
+ expect(subject[:Repository]).to include(repo_param)
end
context "when git_upload_pack action is passed" do