Skip to content
代码片段 群组 项目
提交 e01480a3 编辑于 作者: Robert Speicher's avatar Robert Speicher
浏览文件

Minor mentionable shared example change

上级 8c9a1487
No related branches found
No related tags found
无相关合并请求
......@@ -92,8 +92,8 @@ def common_mentionable_setup
it 'detects existing cross-references' do
Note.create_cross_reference_note(mentioned_issue, subject.local_reference, author, project)
expect(subject.has_mentioned?(mentioned_issue)).to be_truthy
expect(subject.has_mentioned?(mentioned_mr)).to be_falsey
expect(subject).to have_mentioned(mentioned_issue)
expect(subject).not_to have_mentioned(mentioned_mr)
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册