Merge pull request #10731 from mfo/US/fix-spec
Tech : corrige un test cassé
This commit is contained in:
commit
0ffb7cd886
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module Maintenance
|
||||||
before { invalid_champ.update!(row_id: dossier.champs[1].row_id) }
|
before { invalid_champ.update!(row_id: dossier.champs[1].row_id) }
|
||||||
|
|
||||||
it "dissociate champ having a row_id without a parent_id" do
|
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)
|
.to change { Champ.exists?(invalid_champ.id) }.from(true).to(false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue