fix(spec): broken
This commit is contained in:
parent
46547cb2cd
commit
7c3dd84e9f
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) }
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue