summaryrefslogtreecommitdiff
path: root/spec/gitlab_custom_hook_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/gitlab_custom_hook_spec.rb')
-rw-r--r--spec/gitlab_custom_hook_spec.rb5
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)