Rails Active_storage ActiveStorage::IntegrityError on test
0 On a rails 5.2, I save a canvas as blob and send it on azur storage via Active storage. On my machine, with development environnement, png is created perfectly and perfectly send to the azur blob and I get it attach to the model. But on the Test machine ( with test environnement) I get a ActiveStorage::IntegrityError when I attach the blob to the image. the javascript that send the png var project_id = 2; var csrf_token = $("meta[name=csrf-token]").attr("content"); var project_metadata = new FormData(); project_metadata.append("utf8","✓"); project_metadata.append("authenticity_token",csrf_token); project_metadata.append("projet_id",project_id.toString()); project_metadata.append("commit","Create Projet"); var file_name = "rdc.png"; var upload_file_field = that.drawing.getElement().toBlob(function(blob) var file = new File([blob], file_name, type: "image/png", las...