summaryrefslogtreecommitdiff
path: root/spec/support/project_forks_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/project_forks_helper.rb')
-rw-r--r--spec/support/project_forks_helper.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/support/project_forks_helper.rb b/spec/support/project_forks_helper.rb
index d6680735aa1..2c501a2a27c 100644
--- a/spec/support/project_forks_helper.rb
+++ b/spec/support/project_forks_helper.rb
@@ -38,10 +38,6 @@ module ProjectForksHelper
# so we have to explicitely call this method to clear the @exists variable.
# of the instance we're returning here.
forked_project.repository.after_import
-
- # We can't leave the hooks in place after a fork, as those would fail in tests
- # The "internal" API is not available
- FileUtils.rm_rf("#{forked_project.repository.path}/hooks")
end
forked_project