diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-11 09:10:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-11 09:10:58 +0300 |
commit | f31ef3fd5548f9ffd5740b6aaca8672c27e34b42 (patch) | |
tree | 9f270beb0c4cad85b2a50eb25eb6712966cd1ddf /spec/support/praefect.rb | |
parent | f60515eae2fc00c56742462826ae00826eb8826e (diff) |
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 451b47cc83c..3218275c2aa 100644 --- a/spec/support/praefect.rb +++ b/spec/support/praefect.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true -require_relative 'helpers/gitaly_setup' +require_relative 'helpers/test_env' 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(GitalySetup.praefect_socket_path) + .and_return(TestEnv.praefect_socket_path) end end |