[fix #504] Dossier: initiated -> en_construction

The change must not impact the api
This commit is contained in:
LeSim 2017-12-14 15:51:45 +01:00
parent 461dd9e843
commit 56545933a9
72 changed files with 261 additions and 187 deletions

View file

@ -34,7 +34,7 @@ describe ProcedureOverview, type: :model do
describe 'dossiers_en_construction_count' do
let!(:dossier_en_construction) do
create(:dossier, procedure: procedure, state: :initiated, created_at: monday)
create(:dossier, procedure: procedure, state: :en_construction, created_at: monday)
end
it { expect(procedure_overview.dossiers_en_construction_count).to eq(1) }