add retry monkey patch for mechanize

This commit is contained in:
Albert Yi
2018-05-09 16:45:03 -07:00
parent e23814be92
commit 5bca31bad1
3 changed files with 57 additions and 14 deletions

View File

@@ -8,13 +8,6 @@ module Sources
@site
end
def teardown
super
# need to reset the connection
Sources::Strategies::Pixiv.new("http://www.pixiv.net").agent.shutdown
end
context "in all cases" do
context "A touch page" do
setup do