summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-15 21:09:14 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-15 21:09:14 +0200
commit990b476faae2720321d9ad604fab52efc25bf82f (patch)
tree1682f10d3cde65e5707d7cdff629cd324f00e367
parenta9b04c4536ef55072f8ff763e85a30099941a1c6 (diff)
downloadgitlab-ce-990b476faae2720321d9ad604fab52efc25bf82f.tar.gz
Fix notification service spec.
-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