diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-19 02:53:22 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-20 17:12:05 +0300 |
commit | ce78813c2abb8e65739a0a95d8044e3dca1bfbe6 (patch) | |
tree | bd11d916e50120c2f048783fa352bcfa352d4a5b /spec/services/notes/post_process_service_spec.rb | |
parent | a57bf9bd39816cebec5da3da35a1aabbf7462069 (diff) |
Create or mark task pending as soon the action happens
Diffstat (limited to 'spec/services/notes/post_process_service_spec.rb')
-rw-r--r-- | spec/services/notes/post_process_service_spec.rb | 2 |
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 |