summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-22 12:29:16 +0000
committerRémy Coutable <remy@rymai.me>2016-07-22 12:29:16 +0000
commit033e5423a2594e08a7ebcd2379bd2331f4c39032 (patch)
treeb825b3c560e24b542656f8deadfcbb5e2e995dcc
parent1a3227d8e16af15f3968ea31804c33b0cdaec2d3 (diff)
parentde3f8ad397e8505ca56e1a81235ce36f6f145c51 (diff)
downloadgitlab-ce-033e5423a2594e08a7ebcd2379bd2331f4c39032.tar.gz
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
-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