Commit f5040aa3a9926827fd05adac82f92a996c0b5a8e
1 parent
b2e5050c
Exists in
relation
and in
1 other branch
Added test [skip ci]
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/sql_test.rb
... | ... | @@ -56,6 +56,7 @@ class SqlTest < Minitest::Test |
56 | 56 | {name: "Product", latitude: 80.0} |
57 | 57 | ] |
58 | 58 | assert_search "product", ["Product"], where: {latitude: {gt: 79}} |
59 | + assert_search_relation ["Product"], Product.search("product", relation: true).where(latitude: {gt: 79}) | |
59 | 60 | end |
60 | 61 | |
61 | 62 | # body_options | ... | ... |