remove residual code
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# http://seiga.nicovideo.jp/api/manga/info?id=376206
|
||||
# http://api.search.nicovideo.jp/api/v2/manga/contents/search?
|
||||
|
||||
class NicoSeigaApiClient
|
||||
extend Memoist
|
||||
BASE_URL = "http://seiga.nicovideo.jp/api"
|
||||
@@ -41,7 +38,7 @@ class NicoSeigaApiClient
|
||||
mech.redirect_ok = true
|
||||
mech
|
||||
end
|
||||
|
||||
|
||||
def initialize(illust_id:, user_id: nil)
|
||||
@illust_id = illust_id
|
||||
@user_id = user_id
|
||||
|
||||
@@ -60,12 +60,6 @@ module Sources
|
||||
assert_match(full_image_url, site.image_url)
|
||||
assert_match(full_image_url, site.canonical_url)
|
||||
end
|
||||
|
||||
context "for a manga page" do
|
||||
should "not try to find the image url" do
|
||||
assert_nil(@site_3.image_url)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user