demarches-normaliennes/spec/controllers
Pierre de La Morinerie 51aacabf13 models: fix touch not propagating when using nested attributes
Sometimes, when using nested attributes, touch doesn’t propagate to
parent relationships. (see https://github.com/rails/rails/issues/26726)

Specifically, this happens in our app when updating a dossier with
only new attachements (but without changing the value of any fields).

To work around this, we need to define the parent relationship
explicitely. This is good practice anyway.

Fix #3906
2019-06-17 13:44:07 +02:00
..
admin Enable new champs editor for all 2019-05-14 16:18:29 +02:00
administrateur Session: add trusted_device cookie 2018-11-13 10:41:45 +01:00
administrations Remove old controller and templates 2018-01-17 18:04:23 +01:00
api/v1 implementation du systeme de PJ de motivation 2019-05-07 08:54:29 +02:00
champs Load leaflet from a separate chunk 2019-05-02 14:10:48 +02: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 france_connect: fix for params entirely missing from the callback 2019-05-13 15:45:12 +02:00
gestionnaires Refactor purge pj to be more generic 2019-05-29 15:54:51 +02:00
manager [fix #3427] Administration can soft delete a dossier 2019-02-14 18:09:08 +01:00
new_administrateur Always create menu deroulant champs with a value 2019-04-11 14:38:21 +02:00
sessions split login and trusted_device logic 2019-02-18 17:20:00 +01:00
users models: fix touch not propagating when using nested attributes 2019-06-17 13:44:07 +02:00
address_controller_spec.rb AddressController#get → #suggestions 2018-10-16 09:38:53 +02:00
api_controller_spec.rb Enable flipflop on api requests 2019-03-12 14:02:55 +01:00
application_controller_spec.rb Send browser support information and format user id 2019-04-04 14:21:32 +02:00
attachments_controller_spec.rb Refactor purge pj to be more generic 2019-05-29 15:54:51 +02:00
invites_controller_spec.rb sessions: add a helper to clear the stored return path 2019-01-17 10:48:54 +01:00
ping_controller_spec.rb Enable the Layout/EmptyLinesAroundBlockBody cop 2017-06-13 10:35:23 +02:00
root_controller_spec.rb dossiers: change all links to use the new user dossiers list 2018-07-02 13:58:58 +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