diff options
author | Josh Frye <joshfng@gmail.com> | 2016-01-28 21:04:24 +0300 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-01-28 21:04:42 +0300 |
commit | c95bc65519993f15fe0fca52db7c315f18053b55 (patch) | |
tree | b9e05a87677b622085fe80e6aa382175d62d0cd3 /spec/services/notes/create_service_spec.rb | |
parent | f9218898ece79275c585da3aeb932b7ede409776 (diff) |
Update tests
Diffstat (limited to 'spec/services/notes/create_service_spec.rb')
-rw-r--r-- | spec/services/notes/create_service_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/services/notes/create_service_spec.rb b/spec/services/notes/create_service_spec.rb index a797a2fe4aa..ff23f13e1cb 100644 --- a/spec/services/notes/create_service_spec.rb +++ b/spec/services/notes/create_service_spec.rb @@ -14,9 +14,7 @@ describe Notes::CreateService, services: true do noteable_type: 'Issue', 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 |