This commit is contained in:
evazion
2022-03-18 16:59:12 -05:00
parent 26d23c49d0
commit cc54b5f730
2 changed files with 3 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ class ArtistURLTest < ActiveSupport::TestCase
end
should "normalize pixiv fanbox account urls" do
url = create(:artist_url, url: "http://www.pixiv.net/fanbox/creator/3113804")
url = create(:artist_url, url: "http://www.pixiv.net/fanbox/creator/3113804/post")
assert_equal("https://www.pixiv.net/fanbox/creator/3113804", url.url)
assert_equal("http://www.pixiv.net/fanbox/creator/3113804/", url.normalized_url)