demarches-normaliennes/spec
Nicolas Bouilleaud 8fa630d2bb Remove Gestionnaire.visible_procedures
It is actually the same thing as Gestionnaire.procedures. It already included the procedures with paths as well as the archived procedures, and in production, there were no Gestionnaire for who procedures was returning a different result than visible_procedures (expect for two baddata brouillon procedures with a nil path).

In addition, Procedure.path is now nonnull, which means the Procedure.avec_lien scope is pointless.

Finally, the current spec showed that the only procedure not visible to the gestion was the one he was not assigned to.
2019-09-17 16:30:48 +02:00
..
controllers gestion des 2 formats de bouton monavis 2019-09-17 13:39:45 +02:00
factories Migration: Index and make Procedure.path nonnull 2019-09-17 16:30:48 +02:00
features Fix procedure_locked_spec 2019-09-17 14:50:37 +02:00
fixtures helpscout: use replies_sent to compute contact rate 2019-09-11 17:26:10 +02:00
helpers Procedure has many instructeurs with defaut_groupe_instructeur 2019-09-02 11:41:12 +02:00
jobs ! NEED JOB REBOOT Move remind activation logic to user 2019-08-14 16:34:50 +02:00
lib helpscout: use replies_sent to compute contact rate 2019-09-11 17:26:10 +02:00
mailers mailers: add a NO_REPLY address to transactional emails 2019-09-10 13:37:28 +02:00
middlewares Use rack_attack_enabled? 2019-08-20 13:29:29 +02:00
models Remove Gestionnaire.visible_procedures 2019-09-17 16:30:48 +02:00
policies Fix champ policy 2019-08-01 16:41:53 +02:00
serializers Dossier Factory: link procedure by defaut_groupe_instructeur 2019-09-03 06:47:02 +02:00
services Fix AdministrateurUsageStatisticsService 2019-09-17 12:37:37 +02:00
support spec: during js specs, cleanup database using deletion 2019-09-10 16:40:02 +02:00
views wording 2019-09-02 11:41:12 +02:00
rails_helper.rb Bump development gems 2018-03-06 16:17:22 +01:00
spec_helper.rb Migrate to flipper 2019-09-10 16:10:14 +02:00