fixes #2756: Have @Mentions Use Relative Instead of Absolute Links

This commit is contained in:
Albert Yi
2016-11-14 10:12:58 -08:00
parent 30899b7d3b
commit 536ba3c7ee
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ class ForumPostTest < ActiveSupport::TestCase
end
dmail = Dmail.last
assert_equal("You were mentioned in the forum topic \"#{@topic.title}\":http://#{Danbooru.config.hostname}/forum_topics/#{@topic.id}?page=1\n\n---\n\n[i]#{@user.name} said:[/i]\n\nHey @#{@user2.name} check this out!", dmail.body)
assert_equal("You were mentioned in the forum topic \"#{@topic.title}\":/forum_topics/#{@topic.id}?page=1\n\n---\n\n[i]#{@user.name} said:[/i]\n\nHey @#{@user2.name} check this out!", dmail.body)
end
end
end