summaryrefslogtreecommitdiff
path: root/spec/services/notification_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/notification_service_spec.rb')
-rw-r--r--spec/services/notification_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
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