Merge pull request #3226 from evazion/fix-3224

Fix #3224: 403 Forbidden when logging in to DeviantArt.
This commit is contained in:
Albert Yi
2017-07-20 15:37:26 -07:00
committed by GitHub
9 changed files with 31 additions and 48 deletions

View File

@@ -14,7 +14,7 @@ module DownloadTestHelper
tempfile = Tempfile.new("danbooru-test")
download = Downloads::File.new(test_source, tempfile.path)
rewritten_source, headers, _ = download.before_download(test_source, {}, {})
rewritten_source, _, _ = download.before_download(test_source, {})
assert_equal(expected_source, rewritten_source, "Tested source URL: #{test_source}")
end