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