summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-22 13:12:30 +0200
committerRémy Coutable <remy@rymai.me>2016-07-22 13:54:12 +0200
commitde3f8ad397e8505ca56e1a81235ce36f6f145c51 (patch)
tree796896be1496e16c35e071ba651a3057fa96721e /spec/mailers
parent88ac4ad5ca568889786161b124db481fc1cda374 (diff)
downloadgitlab-ce-de3f8ad397e8505ca56e1a81235ce36f6f145c51.tar.gz
Make Notify specs more robust by setting up assignee names
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/notify_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 0a9b10bebea..3685b2b17b5 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -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