demarches-normaliennes/spec/controllers/users
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
..
commencer_controller_spec.rb commencer: fix redirection with invalid path 2019-04-04 14:03:40 +02:00
confirmations_controller_spec.rb users: sign-in after confirming an account within a short time 2018-11-06 18:24:34 +01:00
dossiers_controller_spec.rb models: fix touch not propagating when using nested attributes 2019-06-17 13:44:07 +02:00
passwords_controller_spec.rb Spec Factory: an administrateur always has a gestionnaire 2019-01-09 13:49:47 +01:00
registrations_controller_spec.rb add explanation to spec login 2019-05-13 15:28:25 +02:00
sessions_controller_spec.rb Enable flipflop for instructeurs 2019-03-12 12:14:34 +01:00
user_controller_spec.rb app: rename new_user to users 2019-03-25 10:56:39 +01:00