BigW Consortium Gitlab

test_hook_context.rb 191 Bytes
Newer Older
1 2 3
class TestHookContext < BaseContext
  def execute
    hook = project.hooks.find(params[:id])
4
    data = GitPushService.new.sample_data(project, current_user)
5 6 7
    hook.execute(data)
  end
end