mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
fix failing spec
This commit is contained in:
parent
f56f457c78
commit
3431ab2da3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue