diff options
author | Stan Hu <stanhu@gmail.com> | 2015-05-16 09:33:31 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-05-22 06:48:16 +0300 |
commit | deeff56967516764b287e15b2063899b13395b41 (patch) | |
tree | 6ccb51e39d3e2e670aba8ef3bb7fa24e7ed232a8 /spec/services | |
parent | 2b1b026a1e8c7654b475aa0aaacf3121e86ee2a5 (diff) |
Add support for Webhook note events
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/notes/create_service_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/services/notes/create_service_spec.rb b/spec/services/notes/create_service_spec.rb index 1a02299bf19..0dc3b412783 100644 --- a/spec/services/notes/create_service_spec.rb +++ b/spec/services/notes/create_service_spec.rb @@ -15,6 +15,8 @@ describe Notes::CreateService do noteable_id: issue.id } + expect(project).to receive(:execute_hooks) + expect(project).to receive(:execute_services) @note = Notes::CreateService.new(project, user, opts).execute end |