demarches-normaliennes/spec
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
..
controllers models: fix touch not propagating when using nested attributes 2019-06-17 13:44:07 +02:00
factories models: fix touch not propagating when using nested attributes 2019-06-17 13:44:07 +02:00
features spec: fix flaky test by using new wait_until helper 2019-06-04 16:30:36 +02:00
fixtures api_entreprise: display better error message when SIRET is private 2019-06-12 11:58:04 +02:00
helpers [fix #3710] date with letter 2019-06-12 17:48:12 +02:00
jobs Track dossier operations with author and subject 2019-05-14 14:31:03 +02:00
lib api_entreprise: display better error message when SIRET is private 2019-06-12 11:58:04 +02:00
mailers Fix missing helper in notification mailer 2019-04-11 12:25:55 +02:00
models Use default format for date and datetime champ 2019-06-12 17:48:12 +02:00
serializers Use active storage load hook to extend blob 2019-05-16 20:43:01 +02:00
services tasks: prevent the PJ migrations task updating from touching dossiers 2019-06-12 19:07:45 +02:00
support spec: refactor wait_for_ajax to work with out new ajax utils 2019-06-04 16:30:36 +02:00
uploaders [Fix #3016] Do not crash if PJ has no extension 2018-11-21 14:15:45 +01:00
views change date format for all, use try_format_date of helper 2019-06-12 17:48:12 +02:00
rails_helper.rb Bump development gems 2018-03-06 16:17:22 +01:00
spec_helper.rb brouillon_spec: fix the slow use of have_select(locator, selected: …) 2019-06-04 11:03:09 +02:00