procedure: make usual_instruction_time spec more robust
This commit is contained in:
parent
b1296df4c3
commit
b693e055b7
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ describe Procedure do
|
||||||
|
|
||||||
context 'when there is only one processed dossier' do
|
context 'when there is only one processed dossier' do
|
||||||
let(:processed_delays) { [1.day] }
|
let(:processed_delays) { [1.day] }
|
||||||
it { expect(procedure.usual_instruction_time).to eq(1.day) }
|
it { expect(procedure.usual_instruction_time).to be_within(10.seconds).of(1.day) }
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'where there is no processed dossier' do
|
context 'where there is no processed dossier' do
|
||||||
|
|
Loading…
Add table
Reference in a new issue