Test for race search on Race model
Racehorse#search spec
Racehorse#search_race spec
RacehorsesController Specs