[fix #504] Dossier: without_continuation -> sans_suite

This commit is contained in:
Simon Lehericey 2017-12-04 20:23:57 +01:00 committed by LeSim
parent 2be9b8d2ba
commit c83552f423
22 changed files with 64 additions and 41 deletions

View file

@ -27,5 +27,11 @@ describe DossierSerializer do
it { is_expected.to include(state: 'refused') }
end
context 'when the dossier is sans_suite' do
let(:dossier) { create(:dossier, state: :sans_suite) }
it { is_expected.to include(state: 'without_continuation') }
end
end
end

View file

@ -29,6 +29,12 @@ describe DossierTableExportSerializer do
it { is_expected.to include(state: 'refused') }
end
context 'when the dossier is sans_suite' do
let(:dossier) { create(:dossier, state: :sans_suite) }
it { is_expected.to include(state: 'without_continuation') }
end
end
describe '#emails_accompagnateurs' do