Skip to content

Commit

Permalink
Augmente la marge d'erreur sur le calcul du temps dans un test pour c…
Browse files Browse the repository at this point in the history
…icleCI
  • Loading branch information
etienneCharignon committed Dec 7, 2022
1 parent e1f8389 commit a0bfa83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/restitution/inventaire_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@
expect(essai).not_to be_abandon
expect(essai).to be_verifie
expect(essai.nombre_ouverture_contenant).to be(3)
expect(essai.temps_total).to within(0.1).of(180)
expect(essai.temps_total).to within(0.2).of(180)
end
restitution.essais_verifies.last.tap do |essai|
expect(essai).to be_reussite
expect(essai).to be_verifie
expect(essai.nombre_ouverture_contenant).to be(0)
expect(essai.temps_total).to within(0.1).of(300)
expect(essai.temps_total).to within(0.2).of(300)
end
end

Expand Down

0 comments on commit a0bfa83

Please sign in to comment.