summaryrefslogtreecommitdiff
path: root/spec/support/praefect.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/praefect.rb')
-rw-r--r--spec/support/praefect.rb4
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