Make Notify specs more robust by setting up assignee names
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
88ac4ad5ca
commit
de3f8ad397
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue