demarches-normaliennes/spec/controllers
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
..
admin attestation: fix preview of logos 2020-03-30 14:58:50 +02:00
administrateur Fix manager invite administrateur 2019-08-14 16:34:50 +02:00
administrations Remove old controller and templates 2018-01-17 18:04:23 +01:00
api add dossierChangerGroupeInstructeur mutation 2020-03-05 12:28:16 +01:00
champs Remove restclient 2020-03-17 11:12:14 +01:00
concerns commencer: redirect to the procedure page after sign-in and sign-up 2019-01-21 14:45:38 +01:00
devise sign_in: extract the procedure context to a ProcedureContextConcern 2019-01-17 11:07:09 +01:00
france_connect Use time.zone functions instead of server time functions 2019-11-26 14:26:36 +01:00
instructeurs instructeur: show deleted dossiers for a procedure 2020-03-25 10:19:07 +01:00
manager Remove non-existant columns from manager dashboards 2020-03-26 16:17:07 +01:00
new_administrateur code review changes 2020-01-20 16:15:02 +01:00
users fix DoubleRender error for brouillon pdf 2020-01-29 14:24:23 +01:00
api_controller_spec.rb Enable flipflop on api requests 2019-03-12 14:02:55 +01:00
application_controller_spec.rb Revert "Revert "go to procedure after cliking link"" 2020-03-20 10:41:36 +01:00
attachments_controller_spec.rb Refactor purge pj to be more generic 2019-05-29 15:54:51 +02:00
invites_controller_spec.rb Instructeur has_many procedures through groupe_instructeur 2019-09-02 11:41:12 +02:00
ping_controller_spec.rb Enable the Layout/EmptyLinesAroundBlockBody cop 2017-06-13 10:35:23 +02:00
root_controller_spec.rb Instructeur has_many procedures through groupe_instructeur 2019-09-02 11:41:12 +02:00
stats_controller_spec.rb stats: display 12 weeks of feedbacks 2019-04-02 17:22:38 +02:00
support_controller_spec.rb contact: rewrite specs to use finer-grained mocks 2019-01-22 16:12:13 +01:00
webhook_controller_spec.rb webhook: fix a crash when the Helpscout customer is unknown 2019-11-04 18:36:52 +01:00