Skip to content

Add additional scope check to Todo#for_target spec

Robert Speicher requested to merge rs-fix-todo-spec into master

This works around a condition where the Issue and the MergeRequest created by FactoryBot both had the same ID, which caused for_target to return two records when we only expected one.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/54720

Edited by Robert Speicher

Merge request reports

Loading