From 990b476faae2720321d9ad604fab52efc25bf82f Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 15 Apr 2015 21:09:14 +0200 Subject: Fix notification service spec. --- spec/services/notification_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb index 0faff48c059..6d2bc41c2b9 100644 --- a/spec/services/notification_service_spec.rb +++ b/spec/services/notification_service_spec.rb @@ -149,7 +149,7 @@ describe NotificationService do before do build_team(note.project) - allow_any_instance_of(Commit).to receive(:author).and_return() + allow_any_instance_of(Commit).to receive(:author).and_return(@u_committer) end describe :new_note do -- cgit v1.2.1