Fix tests

This commit is contained in:
Rin Toshaka 2018-12-18 20:30:04 +01:00
parent 8a67677d77
commit 196d9c0fd0

View File

@ -27,7 +27,7 @@ test "does not turn html characters to tags" do
text = "Fact #3: pleroma does what mastodon't"
expected_text =
"Fact <a data-tag=\"3\" href=\"http://localhost:4001/tag/3\">#3</a>: pleroma does what mastodon't"
"Fact <a data-tag='3' href='http://localhost:4001/tag/3' rel='tag'>#3</a>: pleroma does what mastodon't"
tags = Formatter.parse_tags(text)