Skip to content

Add test for behavior of assignees with only 1 assignee

Kyle Wiebers requested to merge add-rspec-for-assignees-with-single into master

Opening an MR to add a unit test to be a little more explicit on the behavior for #assignees when there's only 1 user provided.

This seemed to be clear when looking at the resource_dig_and_map in GitLab::Triage::CommandBuilders::TextContentBuilder but I thought a test would help.

This is not needed for the feedback on Slack for triage-ops from @gtsiolis and @pslaughter and I'll give that a test in a dry-run policy later.

Do you think it’s worth supporting multiple usernames in that message type for future messages?

Yes!

Merge request reports