Commit 990b476f authored by Douwe Maan's avatar Douwe Maan

Fix notification service spec.

parent a9b04c45
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment