tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage
This commit is contained in:
parent
a011576757
commit
f819da8921
29 changed files with 161 additions and 219 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue