Skip to content
Snippets Groups Projects
Commit 396c5c97 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix specs

parent 672cbbff
No related branches found
No related tags found
1 merge request!2205Only allow group/project members to mention `@all`
Loading
Loading
@@ -3,6 +3,10 @@ require 'spec_helper'
describe Mentionable do
include Mentionable
 
def author
nil
end
describe :references do
let(:project) { create(:project) }
 
Loading
Loading
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment