Fix specs

This commit is contained in:
Douwe Maan
2015-12-24 20:34:13 +01:00
parent 672cbbff95
commit 396c5c97dd
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -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