Fix test: in see only its own file

This commit is contained in:
Simon Lehericey 2017-02-21 10:50:23 +01:00
parent 50e046981f
commit ec55c48ef4

View file

@ -12,6 +12,7 @@ describe Backoffice::DossiersController, type: :controller do
let(:dossier_archived) { create(:dossier, :with_entreprise, archived: true) }
let(:dossier_id) { dossier.id }
let(:dossier2_id) { dossier2.id }
let(:bad_dossier_id) { Dossier.count + 10 }
let(:gestionnaire) { create(:gestionnaire, administrateurs: [create(:administrateur)]) }