summaryrefslogtreecommitdiff
path: root/spec/services/notes
diff options
context:
space:
mode:
authorZJ van de Weg <zegerjan@gitlab.com>2016-05-17 12:28:17 -0500
committerZJ van de Weg <zegerjan@gitlab.com>2016-05-18 08:47:15 -0500
commite0cabb67d0492907e6cef21bb0ef21a6e953b70b (patch)
treee6f6f11a0d5cc9246670f76ad84bd0f75d652a6e /spec/services/notes
parent7a4e7ad04e1fc96953d9159e8e1a2208990d34f7 (diff)
downloadgitlab-ce-e0cabb67d0492907e6cef21bb0ef21a6e953b70b.tar.gz
Fix latests concerns
Diffstat (limited to 'spec/services/notes')
-rw-r--r--spec/services/notes/create_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/notes/create_service_spec.rb b/spec/services/notes/create_service_spec.rb
index 4e62e3975ea..35f576874b8 100644
--- a/spec/services/notes/create_service_spec.rb
+++ b/spec/services/notes/create_service_spec.rb
@@ -59,7 +59,7 @@ describe Notes::CreateService, services: true do
noteable_id: issue.id
}
- expect_any_instance_of(ToggleAwardEmojiService).to receive(:execute).with(issue, "thumbsup")
+ expect_any_instance_of(TodoService).to receive(:new_award_emoji).with(issue, user)
Notes::CreateService.new(project, user, opts).execute
end