fixes #2489: Hentai-Foundry image source update for artist finder

This commit is contained in:
r888888888
2015-08-11 13:48:19 -07:00
parent 26280368f7
commit 9dfaad7c98
2 changed files with 4 additions and 1 deletions

View File

@@ -959,6 +959,9 @@ class PostTest < ActiveSupport::TestCase
should "normalize hentai foundry links" do
@post.source = "http://pictures.hentai-foundry.com//a/AnimeFlux/219123.jpg"
assert_equal("http://www.hentai-foundry.com/pictures/user/AnimeFlux/219123", @post.normalized_source)
@post.source = "http://pictures.hentai-foundry.com/a/AnimeFlux/219123.jpg"
assert_equal("http://www.hentai-foundry.com/pictures/user/AnimeFlux/219123", @post.normalized_source)
end
end
end