tests: set Delayed::Worker.delay_jobs = false globally.

This commit is contained in:
evazion
2017-02-03 17:24:10 -06:00
parent 98b0b2c5d8
commit beddc34958
21 changed files with 4 additions and 32 deletions

View File

@@ -27,7 +27,6 @@ module Downloads
context "An ugoira site for pixiv" do
setup do
Delayed::Worker.delay_jobs = false
@tempfile = Tempfile.new("danbooru-test")
@download = Downloads::File.new("http://www.pixiv.net/member_illust.php?mode=medium&illust_id=46378654", @tempfile.path)
@download.download!