demarches-normaliennes/spec
Martin 970e43efb8 feat(stats#index): update Stat model to also query DossierDeleted in stats computation
tech(question): discard_and_keep_track! ; are we really keeping track with default_scope { kept } ?

feat(stats): add DeletedDossier in Stat computations

Revert "tech(question): discard_and_keep_track! ; are we really keeping track with default_scope { kept } ?"

This reverts commit d1155b7eeaaf1a9f80189e59667e109541fcb089.

feat(stats): support deleted_dossiers for last_four_months_hash and cumulative_hash. extract sanitize query & merge hashes in methdos

clean(rubocop): lint with rubocop

Update db/migrate/20211126080118_add_index_to_deleted_at_to_deleted_dossiers.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>

fix(rubocop): avoid uneeded allocation

fix(migration): add concurrent index with expected synthax

fix(brakeman): add ignore message since group date_trunc evaluation is used by only ourself
2021-11-26 13:29:40 +01:00
..
controllers tests 2021-11-26 09:45:13 +01:00
factories Merge branch 'main' into 6649-etq-usager-instructeur-rendre-la-suppression-plus-visible 2021-11-24 14:07:32 +01:00
fixtures homogennize api particulier endpoint test url 2021-10-12 14:27:20 +02:00
helpers specs: avoid executing business logic in Procedure factory 2021-11-23 08:07:07 +01:00
jobs specs: minor cleanups 2021-11-23 08:07:07 +01:00
lib source service supports unknown scope 2021-10-12 14:27:20 +02:00
mailers feat(UserMailer.france_connect_merge_confirmation): in addition to distance_of_time_in_words, add exact expiration date 2021-11-25 17:34:37 +01:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models feat(stats#index): update Stat model to also query DossierDeleted in stats computation 2021-11-26 13:29:40 +01:00
policies factories: cleanup Administrateur, Instructeur and Expert factories 2021-10-26 12:03:30 +02:00
serializers specs: explicitely pass the dossier to champs factories 2021-11-23 08:07:07 +01:00
services specs: avoid executing business logic in Procedure factory 2021-11-23 08:07:07 +01:00
support feat(dossiers/show): enhance header with expirations message/banner. also ensure consistent design between dossier states 2021-11-23 05:50:25 +01:00
system Merge branch 'main' into 6649-etq-usager-instructeur-rendre-la-suppression-plus-visible 2021-11-24 14:07:32 +01:00
views tests 2021-11-26 09:45:13 +01:00
rails_helper.rb specs: migrate from features to system specs 2021-10-26 12:24:46 +02:00
spec_helper.rb Chore(test): enable rspec only-failures support 2021-04-15 14:17:39 +02:00