return nil when no traitement time
This commit is contained in:
parent
887c5cb4a9
commit
896190b91e
2 changed files with 10 additions and 5 deletions
|
@ -45,7 +45,7 @@ describe ProcedureStatsConcern do
|
|||
|
||||
context 'where there is no processed dossier' do
|
||||
let(:delays) { [] }
|
||||
it { expect(procedure.usual_traitement_time_for_recent_dossiers(30)).to eq 0 }
|
||||
it { expect(procedure.usual_traitement_time_for_recent_dossiers(30)).to eq nil }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue