Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-17 00:29:11 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 17:10:26 +0300
commit49cd19652ade0eb81126caa590461e8340d63d26 (patch)
treee696dd625da985dbda5571bfbda74c20423f9630 /spec/services/notes
parent917081fe9dd3da2995faf8f5555ed120ec4c4ea5 (diff)
Mark pending tasks for the note author as done when he left a note
Diffstat (limited to 'spec/services/notes')
-rw-r--r--spec/services/notes/post_process_service_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/notes/post_process_service_spec.rb b/spec/services/notes/post_process_service_spec.rb
index 1a3f339bd64..9489b8c6336 100644
--- a/spec/services/notes/post_process_service_spec.rb
+++ b/spec/services/notes/post_process_service_spec.rb
@@ -20,6 +20,7 @@ describe Notes::PostProcessService, services: true do
it do
expect(project).to receive(:execute_hooks)
expect(project).to receive(:execute_services)
+ expect_any_instance_of(TaskService).to receive(:new_note).with(@note)
Notes::PostProcessService.new(@note).execute
end
end