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-19 02:53:22 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 17:12:05 +0300
commitce78813c2abb8e65739a0a95d8044e3dca1bfbe6 (patch)
treebd11d916e50120c2f048783fa352bcfa352d4a5b /spec/services/notes
parenta57bf9bd39816cebec5da3da35a1aabbf7462069 (diff)
Create or mark task pending as soon the action happens
Diffstat (limited to 'spec/services/notes')
-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