remove residual code

This commit is contained in:
Albert Yi
2019-02-25 14:46:43 -08:00
parent 90ce42a537
commit f6a11e6363
2 changed files with 1 additions and 10 deletions

View File

@@ -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 class NicoSeigaApiClient
extend Memoist extend Memoist
BASE_URL = "http://seiga.nicovideo.jp/api" BASE_URL = "http://seiga.nicovideo.jp/api"

View File

@@ -60,12 +60,6 @@ module Sources
assert_match(full_image_url, site.image_url) assert_match(full_image_url, site.image_url)
assert_match(full_image_url, site.canonical_url) assert_match(full_image_url, site.canonical_url)
end 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 end
end end