Commit e01480a3 authored by Robert Speicher's avatar Robert Speicher

Minor mentionable shared example change

parent 8c9a1487
...@@ -92,8 +92,8 @@ shared_examples 'a mentionable' do ...@@ -92,8 +92,8 @@ shared_examples 'a mentionable' do
it 'detects existing cross-references' do it 'detects existing cross-references' do
Note.create_cross_reference_note(mentioned_issue, subject.local_reference, author, project) Note.create_cross_reference_note(mentioned_issue, subject.local_reference, author, project)
expect(subject.has_mentioned?(mentioned_issue)).to be_truthy expect(subject).to have_mentioned(mentioned_issue)
expect(subject.has_mentioned?(mentioned_mr)).to be_falsey expect(subject).not_to have_mentioned(mentioned_mr)
end end
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