demarches-normaliennes/spec/factories
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
..
administrateur.rb Enable flipflop for instructeurs 2019-03-12 12:14:34 +01:00
administration.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
assign_to.rb factory_girl is now factory_bot 2018-01-23 17:15:42 +01:00
attestation_template.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
avis.rb avis: format newlines in avis 2019-04-04 10:20:57 +02:00
champ.rb Save SIRET data on search 2019-03-19 16:22:42 +01:00
commentaire.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
deleted_dossier.rb DateTime.now => Time.zone.now 2018-10-26 10:10:20 +00:00
dossier.rb Fix factory to avoid crash because of procedure is nil 2019-04-11 12:25:55 +02:00
drop_down_list.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
etablissement.rb dossier: add page for etablissement 2018-10-17 10:37:06 +02:00
exercice.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
feedback.rb stats: use group_by_week to compute the week range 2019-01-10 16:17:00 +01:00
follow.rb factory_girl is now factory_bot 2018-01-23 17:15:42 +01:00
france_connect_information.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
geo_area.rb GeoArea on API expose fields per source type 2018-10-23 18:13:44 +02:00
gestionnaire.rb Enable flipflop for instructeurs 2019-03-12 12:14:34 +01:00
individual.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
invite.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
mail_templates.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
piece_justificative.rb [Fix #2833] Move /support files to /fixtures 2018-10-16 10:47:41 +02:00
procedure.rb models: fix touch not propagating when using nested attributes 2019-06-17 13:44:07 +02:00
procedure_presentation.rb [#2579] Validate columns on ProcedurePresentation model 2018-10-03 10:17:46 +02:00
service.rb [fix #3315] Migrate service organisme 2019-02-18 16:50:44 +01:00
type_de_champ.rb [Fix #3650] when cloning a procedure, do not forget pj_templates 2019-03-26 15:31:09 +01:00
type_de_piece_justificative.rb Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
user.rb users: sign-in after confirming an account within a short time 2018-11-06 18:24:34 +01:00