feat(search): index mandataire name
This commit is contained in:
parent
39b0327237
commit
6733b2884f
2 changed files with 11 additions and 1 deletions
|
@ -56,5 +56,13 @@ describe DossierSearchableConcern do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'mandataire' do
|
||||
it "update columns" do
|
||||
dossier.update(mandataire_first_name: "Chris")
|
||||
perform_enqueued_jobs(only: DossierIndexSearchTermsJob)
|
||||
expect(result["search_terms"]).to include("Chris")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue