From f8e64aa2baa7fa30be43ab6759233d4082be9f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 16 Nov 2016 02:13:10 +0200 Subject: remove unused create_global_hooks --- spec/gitlab_custom_hook_spec.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'spec/gitlab_custom_hook_spec.rb') diff --git a/spec/gitlab_custom_hook_spec.rb b/spec/gitlab_custom_hook_spec.rb index 701218c..d91690f 100644 --- a/spec/gitlab_custom_hook_spec.rb +++ b/spec/gitlab_custom_hook_spec.rb @@ -182,11 +182,6 @@ describe GitlabCustomHook do FileUtils.ln_sf(which, hook_path(repo_path, path)) end - def create_global_hooks(path, which) - # should not be tested, as the "global hooks" is gitlab-shell itself (gitlab-shell/hooks/) - raise "no method, this is gitlab-shell itself" - end - # global hooks multiplexed def create_global_hooks_d(path, which) create_hook(path, 'hooks/pre-receive.d/hook', which) -- cgit v1.2.1