Fix spec models

This commit is contained in:
Xavier J 2016-12-01 18:07:51 +01:00
parent f96b87122b
commit 402459437d

View file

@ -116,7 +116,7 @@ describe Gestionnaire, type: :model do
end
describe '#dossiers_follow' do
let!(:dossier) { create :dossier, procedure: procedure }
let!(:dossier) { create :dossier, procedure: procedure, state: :initiated }
before do
create :follow, dossier_id: dossier.id, gestionnaire_id: gestionnaire.id