Fix tests

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
This commit is contained in:
Chaïb Martinez 2019-07-11 17:12:11 +02:00 committed by Pierre de La Morinerie
parent 3f9f67eb78
commit 5cb6ba2f3b

View file

@ -251,9 +251,9 @@ class ApplicationController < ActionController::Base
DS_SIGN_IN_COUNT: current_administrateur&.sign_in_count,
DS_CREATED_AT: current_administrateur&.created_at,
DS_ID: current_administrateur&.id,
DS_NB_DEMARCHES_BROUILLONS: current_administrateur.procedures.brouillons.count,
DS_NB_DEMARCHES_ACTIVES: current_administrateur.procedures.publiees.count,
DS_NB_DEMARCHES_ARCHIVES: current_administrateur.procedures.archivees.count
DS_NB_DEMARCHES_BROUILLONS: current_administrateur&.procedures&.brouillons&.count,
DS_NB_DEMARCHES_ACTIVES: current_administrateur&.procedures&.publiees&.count,
DS_NB_DEMARCHES_ARCHIVES: current_administrateur&.procedures&.archivees&.count
}
}