diff options
Diffstat (limited to 'spec/factories/projects.rb')
-rw-r--r-- | spec/factories/projects.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index 3d8b7e879c7..c80b09e9b9d 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -39,10 +39,6 @@ FactoryGirl.define do trait :empty_repo do after(:create) do |project| project.create_repository - - # We delete hooks so that gitlab-shell will not try to authenticate with - # an API that isn't running - FileUtils.rm_r(File.join(project.repository_storage_path, "#{project.path_with_namespace}.git", 'hooks')) end end |