diff options
author | Rémy Coutable <remy@rymai.me> | 2018-01-16 11:02:21 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-01-16 11:02:21 +0000 |
commit | 644f91552c2db87065796d3848dccc01ad939eb9 (patch) | |
tree | 519e2a755afae4455080c0bbed15becf05ebcf97 /spec/services | |
parent | ff252f61f73353ae3912707877c350bd6f7eb038 (diff) | |
parent | d19b68b6edb8b3801ce5c00efe27d22ae3afd962 (diff) | |
download | gitlab-ce-644f91552c2db87065796d3848dccc01ad939eb9.tar.gz |
Merge branch 'issue-30101' into 'master'
Update 'removed assignee' note to include old assignee reference
Closes #30101
See merge request gitlab-org/gitlab-ce!16301
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/system_note_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/system_note_service_spec.rb b/spec/services/system_note_service_spec.rb index 965fd39c967..ab3a257f36f 100644 --- a/spec/services/system_note_service_spec.rb +++ b/spec/services/system_note_service_spec.rb @@ -158,7 +158,7 @@ describe SystemNoteService do end it 'builds a correct phrase when assignee removed' do - expect(build_note([assignee1], [])).to eq 'removed assignee' + expect(build_note([assignee1], [])).to eq "unassigned @#{assignee1.username}" end it 'builds a correct phrase when assignees changed' do |