diff options
author | Rémy Coutable <remy@rymai.me> | 2016-07-22 14:12:30 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-22 14:54:12 +0300 |
commit | de3f8ad397e8505ca56e1a81235ce36f6f145c51 (patch) | |
tree | 796896be1496e16c35e071ba651a3057fa96721e /spec/mailers/notify_spec.rb | |
parent | 88ac4ad5ca568889786161b124db481fc1cda374 (diff) |
Make Notify specs more robust by setting up assignee names
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/mailers/notify_spec.rb')
-rw-r--r-- | spec/mailers/notify_spec.rb | 2 |
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 |