mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-23 03:26:07 +10:00
Fix specs
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user