fix specs

This commit is contained in:
Albert Yi
2018-09-04 13:37:50 -07:00
parent 0529ec9ad0
commit 8ec96f42f7
4 changed files with 4 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ module Sources
end
def normalizable_for_artist_finder?
illust_id.present? || novel_id.present? || fanbox_id.present?
illust_id.present? || novel_id.present? || fanbox_id.present? || fanbox_account_id.present?
end
def unique_id
@@ -219,7 +219,7 @@ module Sources
end
end
raise Sources::Error.new("Couldn't get illust ID from URL (#{url}, #{referer_url})")
return nil
end
memoize :illust_id