demarches-normaliennes/spec
Pierre de La Morinerie 1cb18e51ac champ: return the parent dossier even when discarded
Dossier has a `default_scope { kept }`.

Because of that, when the parent dossier is discarded, `champ.dossier`
will return nil.

We should kill the default scope. But meanwhile, ensure that
`champ.dossier` returns even a discarded dossier.
2020-04-22 11:46:42 +02:00
..
controllers add effectif mensuel to graphql api 2020-04-21 21:13:07 +02:00
factories DeletedDossier should have access to discarded demarche 2020-03-31 17:08:29 +02:00
features fetch and show effectif mensuel 2020-04-21 14:22:11 +02:00
fixtures create ApiEntreprise::EffectifsAdapter 2020-04-21 14:22:11 +02:00
helpers tests for dossier_helper#demandeur_dossier 2020-04-10 13:14:39 +02:00
jobs specs: always require rails_helper 2020-03-31 12:48:32 +02:00
lib rename effectif columns 2020-04-21 21:13:07 +02:00
mailers remove WarnExpiringDossiersJob 2020-04-09 11:11:51 +02:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models champ: return the parent dossier even when discarded 2020-04-22 11:46:42 +02:00
policies policies: fix champ policy for guest users 2020-04-02 11:27:14 +02:00
serializers Expose multiple user selections on champ carte 2020-04-15 18:07:09 +02:00
services rename effectif columns 2020-04-21 21:13:07 +02:00
support specs: remove unused wait-for-ajax helper 2020-03-31 12:54:49 +02:00
views specs: always require rails_helper 2020-03-31 12:48:32 +02:00
rails_helper.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
spec_helper.rb rspec: allow Rails to auto-migrate the test schema 2020-03-31 12:48:32 +02:00