Commit ba60a9dd authored by Rémy Coutable's avatar Rémy Coutable

Don't mention directly users in spec/services/todo_service_spec.rb:526

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 0ee11d1e
...@@ -503,7 +503,7 @@ describe TodoService, services: true do ...@@ -503,7 +503,7 @@ describe TodoService, services: true do
let(:approver_1) { create(:user) } let(:approver_1) { create(:user) }
let(:approver_2) { create(:user) } let(:approver_2) { create(:user) }
let(:approver_3) { create(:user) } let(:approver_3) { create(:user) }
let(:approver_mentions) { [john_doe, approver_1].map(&:to_reference).join(' ') } let(:approver_mentions) { 'FYI: ' + [john_doe, approver_1].map(&:to_reference).join(' ') }
let(:mr_approvers) { create(:merge_request, source_project: project, author: author, description: approver_mentions) } let(:mr_approvers) { create(:merge_request, source_project: project, author: author, description: approver_mentions) }
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment