Merge pull request #10731 from mfo/US/fix-spec

Tech : corrige un test cassé
This commit is contained in:
mfo 2024-09-02 08:54:02 +00:00 committed by GitHub
commit 0ffb7cd886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ module Maintenance
before { invalid_champ.update!(row_id: dossier.champs[1].row_id) }
it "dissociate champ having a row_id without a parent_id" do
expect { described_class.process(dossier) }
expect { described_class.process(dossier.id) }
.to change { Champ.exists?(invalid_champ.id) }.from(true).to(false)
end
end