tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage

This commit is contained in:
mfo 2024-06-05 19:16:41 +02:00
parent a011576757
commit f819da8921
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
29 changed files with 161 additions and 219 deletions

View file

@ -155,7 +155,6 @@ describe 'shared/dossiers/edit', type: :view do
let(:dossier) { create(:dossier, procedure:) }
before do
allow_any_instance_of(Dossiers::InvalidIneligibiliteRulesComponent).to receive(:ineligibilite_rules_computable?).and_return(true)
allow(dossier).to receive(:can_passer_en_construction?).and_return(false)
end