Commit 033e5423 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '20121-make-spec-mailers-notify_spec-rb-more-robust' into 'master'

Make Notify specs more robust by setting up assignee names

Closes #20121.

See merge request !5427
parents 1a3227d8 de3f8ad3
......@@ -12,7 +12,7 @@ describe Notify do
context 'for a project' do
describe 'items that are assignable, the email' do
let(:current_user) { create(:user, email: "current@email.com") }
let(:assignee) { create(:user, email: 'assignee@example.com') }
let(:assignee) { create(:user, email: 'assignee@example.com', name: 'John Doe') }
let(:previous_assignee) { create(:user, name: 'Previous Assignee') }
shared_examples 'an assignee email' 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