GitLab wurde erfolgreich aktualisiert. Durch regelmäßige Updates bleibt das THM GitLab sicher. Danke für Ihre Geduld.

Commit aed3ec69 authored by Stan Hu's avatar Stan Hu

Merge branch 'rs-fix-todo-spec' into 'master'

Add additional scope check to Todo#for_target spec

See merge request gitlab-org/gitlab-ce!23487
parents c8fa8da2 51e63a79
......@@ -236,7 +236,8 @@
create(:todo, target: create(:merge_request))
expect(described_class.for_target(todo.target)).to eq([todo])
expect(described_class.for_type(Issue.name).for_target(todo.target))
.to contain_exactly(todo)
end
end
......
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