22052: Improve trigram index tests
authorBrett Smith <brett.smith@curii.com>
Tue, 20 Aug 2024 20:12:13 +0000 (16:12 -0400)
committerBrett Smith <brett.smith@curii.com>
Tue, 20 Aug 2024 20:19:07 +0000 (16:19 -0400)
commit5257d8193b7be0858297df253bdb5bf158fbe644
tree4b5d928836ca15edce7bb279ac26d9cd9af30b2b
parent927569b640219290b509968e932df3bc105c4051
22052: Improve trigram index tests

Rather than defining tests from strings and reflecting the classes from
them, just start from the classes directly and use their methods to get
additional information we need. This is fewer hoops to jump through.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
services/api/test/unit/arvados_model_test.rb