Commit ac251a8fb2dff97d1eccc68417cf5d0e1b829143
1 parent
fe356961
Exists in
relation
and in
1 other branch
Test unmapped [skip ci]
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/order_test.rb
... | ... | @@ -40,6 +40,7 @@ class OrderTest < Minitest::Test |
40 | 40 | |
41 | 41 | def test_order_unmapped_type |
42 | 42 | assert_order "product", [], order: {not_mapped: {unmapped_type: "long"}} |
43 | + assert_search_relation [], Product.search("product", relation: true).order(not_mapped: {unmapped_type: "long"}) | |
43 | 44 | end |
44 | 45 | |
45 | 46 | def test_order_array | ... | ... |