summaryrefslogtreecommitdiff
path: root/spec/support/helpers/git_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/git_helpers.rb')
-rw-r--r--spec/support/helpers/git_helpers.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/support/helpers/git_helpers.rb b/spec/support/helpers/git_helpers.rb
index 99a7c39852e..99c5871ba54 100644
--- a/spec/support/helpers/git_helpers.rb
+++ b/spec/support/helpers/git_helpers.rb
@@ -6,12 +6,4 @@ module GitHelpers
Rugged::Repository.new(path)
end
-
- def project_hook_exists?(project)
- Gitlab::GitalyClient::StorageSettings.allow_disk_access do
- project_path = project.repository.raw_repository.path
-
- File.exist?(File.join(project_path, 'hooks', 'post-receive'))
- end
- end
end