diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-18 18:11:20 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-18 18:11:20 +0000 |
commit | b53f92660977ebc05433e9bbeb74e3c4c6bf0194 (patch) | |
tree | 9182728ebbbc96b7511918c288a2995055bea1c8 /spec/support/praefect.rb | |
parent | da975941d13188324266a50d3f8c0292690ee437 (diff) | |
download | gitlab-ce-b53f92660977ebc05433e9bbeb74e3c4c6bf0194.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/praefect.rb')
-rw-r--r-- | spec/support/praefect.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/praefect.rb b/spec/support/praefect.rb index 3218275c2aa..451b47cc83c 100644 --- a/spec/support/praefect.rb +++ b/spec/support/praefect.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true -require_relative 'helpers/test_env' +require_relative 'helpers/gitaly_setup' RSpec.configure do |config| config.before(:each, :praefect) do allow(Gitlab.config.repositories.storages['default']).to receive(:[]).and_call_original allow(Gitlab.config.repositories.storages['default']).to receive(:[]).with('gitaly_address') - .and_return(TestEnv.praefect_socket_path) + .and_return(GitalySetup.praefect_socket_path) end end |