demarches-normaliennes/spec/controllers/admin
Pierre de La Morinerie ed5f2fa35f attestation: fix preview of logos
Turns out that assigning the params to the procedure calls `read` on the
images files. Calling `read` moves the seek offset to the end of the
file; which means that subsequent calls to `read` return an empty
string.

Fix the issue by calling `rewind` before attempting to `read` the file,
to ensure the seek offset is at the beginning of the file.

Fix #4958
2020-03-30 14:58:50 +02:00
..
assigns_controller_spec.rb assigns: strip and lowercase the search filter 2019-11-06 12:16:30 +01:00
attestation_templates_controller_spec.rb attestation: fix preview of logos 2020-03-30 14:58:50 +02:00
instructeurs_controller_spec.rb instructeurs: replace calls to Instructeur.find_by(email: …) 2019-11-04 10:44:23 +01:00
mail_templates_controller_spec.rb Spec: sign_in with administrateur.user 2019-08-14 15:08:14 +02:00
procedures_controller_spec.rb Add depubliee state to procedures 2019-12-04 16:52:41 +01:00