Commit 396c5c97 authored by Douwe Maan's avatar Douwe Maan

Fix specs

parent 672cbbff
......@@ -3,6 +3,10 @@ require 'spec_helper'
describe Mentionable do
include Mentionable
def author
nil
end
describe :references do
let(:project) { create(:project) }
......
......@@ -115,6 +115,7 @@ describe NotificationService, services: true do
before do
build_team(note.project)
note.project.team << [note.author, :master]
ActionMailer::Base.deliveries.clear
end
......
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