Revert "FEATURE: admin/user exports are compressed using the zip format (#7784)"

This reverts commit 8b2580e20fc508f4e639210f7e64cbf096f95cfc.
This commit is contained in:
romanrizzi
2019-07-10 11:38:51 -03:00
parent 90fcdad3cd
commit f89bd55576
14 changed files with 30 additions and 89 deletions

View File

@ -51,10 +51,10 @@ describe Admin::ThemesController do
expect(response.status).to eq(200)
# Save the output in a temp file (automatically cleaned up)
file = Tempfile.new('archive.tar.zip')
file = Tempfile.new('archive.tar.gz')
file.write(response.body)
file.rewind
uploaded_file = Rack::Test::UploadedFile.new(file.path, "application/zip")
uploaded_file = Rack::Test::UploadedFile.new(file.path, "application/x-gzip")
# Now import it again
expect do