summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-18 21:53:22 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 12:12:05 -0200
commitce78813c2abb8e65739a0a95d8044e3dca1bfbe6 (patch)
treebd11d916e50120c2f048783fa352bcfa352d4a5b /spec
parenta57bf9bd39816cebec5da3da35a1aabbf7462069 (diff)
downloadgitlab-ce-ce78813c2abb8e65739a0a95d8044e3dca1bfbe6.tar.gz
Create or mark task pending as soon the action happens
Diffstat (limited to 'spec')
-rw-r--r--spec/services/notes/post_process_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/notes/post_process_service_spec.rb b/spec/services/notes/post_process_service_spec.rb
index 9489b8c6336..d4c50f824c1 100644
--- a/spec/services/notes/post_process_service_spec.rb
+++ b/spec/services/notes/post_process_service_spec.rb
@@ -20,7 +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