Revert "Fix #3528: Add method to prevent image-hosting CloudFlare sites from altering the image"

This commit is contained in:
Albert Yi
2018-02-21 17:20:13 -08:00
committed by GitHub
parent 18871b60ba
commit d8340f83db
2 changed files with 12 additions and 24 deletions

View File

@@ -28,13 +28,6 @@ module Downloads
end
end
context "a download for an ArtStation image hosted on CloudFlare" do
should "return the original file, not the polished file" do
@source = "https://cdnb.artstation.com/p/assets/images/images/003/716/071/large/aoi-ogata-hate-city.jpg?1476754974"
assert_downloaded(517_706, @source) # polished size: 502_052
end
end
context "a download for a https://$artist.artstation.com/projects/$id page" do
setup do
@source = "https://dantewontdie.artstation.com/projects/YZK5q"