Commit f8e64aa2 authored by Elan Ruusamäe's avatar Elan Ruusamäe Committed by Sean McGivern

remove unused create_global_hooks

parent 872c66e9
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment