mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
8 lines
191 B
Ruby
8 lines
191 B
Ruby
class TestHookContext < BaseContext
|
|
def execute
|
|
hook = project.hooks.find(params[:id])
|
|
data = GitPushService.new.sample_data(project, current_user)
|
|
hook.execute(data)
|
|
end
|
|
end
|