summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/workhorse_spec.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-10-02 09:27:23 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-10-02 09:27:23 +0000
commit0a69abdb28574823631733c06023a0b437f8cef8 (patch)
tree7b7ecb5ec0250ff2a8b9f3215afeef9e35d0d466 /spec/lib/gitlab/workhorse_spec.rb
parent4cdf4efd8d09ac6850f42cda95ee3f0d0cc62df3 (diff)
parentfa5f0164eba8a03ba4fa1403849f3996577fd2e1 (diff)
downloadgitlab-ce-0a69abdb28574823631733c06023a0b437f8cef8.tar.gz
Merge branch 'gitaly-add-branch' into 'master'
Implement OperationService.UserAddBranch Gitaly RPC Closes gitaly#544 See merge request gitlab-org/gitlab-ce!14522
Diffstat (limited to 'spec/lib/gitlab/workhorse_spec.rb')
-rw-r--r--spec/lib/gitlab/workhorse_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb
index e56e2df8376..72496e9a212 100644
--- a/spec/lib/gitlab/workhorse_spec.rb
+++ b/spec/lib/gitlab/workhorse_spec.rb
@@ -226,7 +226,8 @@ describe Gitlab::Workhorse do
it 'includes a Repository param' do
repo_param = {
storage_name: 'default',
- relative_path: project.full_path + '.git'
+ relative_path: project.full_path + '.git',
+ gl_repository: "project-#{project.id}"
}
expect(subject[:Repository]).to include(repo_param)