2014-01-15 12:38:50 +00:00
|
|
|
class TestHookService
|
|
|
|
def execute(hook, current_user)
|
2015-01-12 17:08:25 +00:00
|
|
|
data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
|
2015-01-24 00:10:43 +00:00
|
|
|
hook.execute(data, 'push_hooks')
|
2014-01-15 12:38:50 +00:00
|
|
|
end
|
|
|
|
end
|