gitlabhq/gitlabhq — Issue #509: Testing post-receive-hook fails
Author: kleinmann
Created: 2012-03-04 10:30:11+00:00
State: open

Clicking "Test Hook" yields a 500 error on current master.

The error results from line 35 in hooks_controller.rb calling

```ruby
@project.web_hook_data(commits.last.id, commits.first.id, "refs/heads/#{@project.default_branch}")
```

whereas web_hook_data now needs a fourth parameter `author_key_id`, as seen in models/project.rb, line 114.