diff options
author | Elan Ruusamäe <glen@delfi.ee> | 2016-11-16 02:13:10 +0200 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-12-01 11:40:11 +0000 |
commit | f8e64aa2baa7fa30be43ab6759233d4082be9f5d (patch) | |
tree | 7693dee39083b2069f20379d166f43587f406bd6 | |
parent | 872c66e977b3041e0c18543d2e00a255e8e89e41 (diff) | |
download | gitlab-shell-f8e64aa2baa7fa30be43ab6759233d4082be9f5d.tar.gz |
remove unused create_global_hooks
-rw-r--r-- | spec/gitlab_custom_hook_spec.rb | 5 |
1 files changed, 0 insertions, 5 deletions
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/<hook_name>) - 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) |