update tests

This commit is contained in:
r888888888
2016-06-12 15:12:13 -07:00
parent d206b210c8
commit 45e5ea817a
46 changed files with 22763 additions and 37246 deletions

View File

@@ -38,7 +38,7 @@ class PixivWebAgent
if mech.current_page.body =~ /"error":false/
cookie = mech.cookies.select {|x| x.name == "PHPSESSID"}.first
phpsessid = cookie.value
Cache.put("pixiv-phpsessid", phpsessid.value, 1.month)
Cache.put("pixiv-phpsessid", phpsessid, 1.month)
end
end