fix artist url spec and bug with nicoseiga strategy not recognizing urls

This commit is contained in:
Albert Yi
2018-08-29 17:14:36 -07:00
parent 64c3bc18a7
commit 48f2a79d13
2 changed files with 7 additions and 6 deletions

View File

@@ -89,9 +89,9 @@ class ArtistUrlTest < ActiveSupport::TestCase
end
should "normalize" do
assert_equal("http://seiga.nicovideo.jp/user/illust/7017777", @urls[0].normalized_url)
assert_equal("http://seiga.nicovideo.jp/user/illust/7017777", @urls[1].normalized_url)
assert_equal("http://seiga.nicovideo.jp/user/illust/7017777", @urls[2].normalized_url)
assert_equal("http://seiga.nicovideo.jp/user/illust/7017777/", @urls[0].normalized_url)
assert_equal("http://seiga.nicovideo.jp/user/illust/7017777/", @urls[1].normalized_url)
assert_equal("http://seiga.nicovideo.jp/user/illust/7017777/", @urls[2].normalized_url)
end
end