pixiv: include stacc url in new artist entries (#4028).
This commit is contained in:
@@ -278,6 +278,17 @@ module Sources
|
||||
assert_equal(["fate/grand_order"], source.translated_tags.map(&:name))
|
||||
end
|
||||
end
|
||||
|
||||
context "fetching the artist data" do
|
||||
should "get the artist names and profile urls" do
|
||||
source = get_source("https://www.pixiv.net/member_illust.php?mode=medium&illust_id=65981746")
|
||||
|
||||
assert_equal("uroobnad", source.tag_name)
|
||||
assert_equal(["uroobnad"], source.other_names)
|
||||
assert_includes(source.profile_urls, "https://www.pixiv.net/member.php?id=696859")
|
||||
assert_includes(source.profile_urls, "https://www.pixiv.net/stacc/uroobnad")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user