fix failing spec

This commit is contained in:
zmagod 2018-04-24 09:53:26 +02:00
parent f56f457c78
commit 3431ab2da3

View file

@ -15,7 +15,7 @@ describe SmartAnnotations::TagToHtml do
describe 'Parsed text' do describe 'Parsed text' do
it 'returns a existing string with smart annotation' do it 'returns a existing string with smart annotation' do
expect(subject.html).to eq( expect(subject.html).to eq(
"My annotation of <span class='sa-type'>PRJ</span>"\ "My annotation of <span class='sa-type'>Prj</span> "\
"<a href='/projects/#{project.id}'>my project</a>" "<a href='/projects/#{project.id}'>my project</a>"
) )
end end