summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-04-04 15:41:50 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-04-04 15:41:50 +0200
commitca94d20013b9f4480d0ba4d9fc831b6021877f03 (patch)
treee09330177d0823aaad1604f7bac014e0102a1da2 /spec
parentc5dae616c25960a1176f4fb75728a5a8ca22c75a (diff)
downloadgitlab-ce-ca94d20013b9f4480d0ba4d9fc831b6021877f03.tar.gz
Pass GitalyAddress to workhorse
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/workhorse_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb
index 3bd2a3238fe..4e84a99e388 100644
--- a/spec/lib/gitlab/workhorse_spec.rb
+++ b/spec/lib/gitlab/workhorse_spec.rb
@@ -188,8 +188,10 @@ describe Gitlab::Workhorse, lib: true do
context 'when Gitaly is enabled' do
let(:gitaly_params) do
+ address = Gitlab::GitalyClient.get_address('default')
{
- GitalySocketPath: URI(Gitlab::GitalyClient.get_address('default')).path,
+ GitalySocketPath: URI(address).path,
+ GitalyAddress: address,
}
end