@ -29,11 +29,11 @@ describe OpenProject::Webhooks::Hook do
let(:hook) { OpenProject::Webhooks::Hook.new('myhook', &probe) }
before do
probe.should_receive(:call).with(hook, 1, 2, 3, 4)
probe.should_receive(:call).with(hook, 1, 2, 3)
end
it 'should execute the callback with the correct parameters' do
hook.handle(1, 2, 3, 4)
hook.handle(1, 2, 3)