@@ -124,7 +124,7 @@ test "turning urls into links" do
end
describe"add_user_links"do
test"gives a replacement for user links"do
test"gives a replacement for user links, using local nicknames in user links text"do
text="@gsimg According to @archa_eme_, that is @daggsy. Also hello @archaeme@archae.me"
gsimg=insert(:user,%{nickname:"gsimg"})
...
...
@@ -150,7 +150,7 @@ test "gives a replacement for user links" do
archaeme.id
}' class='u-url mention' href='#{"https://archeme/@archa_eme_"}'>@<span>archa_eme_</span></a></span>, that is @daggsy. Also hello <span class='h-card'><a data-user='#{