Commit c11635c1251f1741dc50946609ad3ea7b8b678c3
1 parent
ee14deb5
Exists in
master
Added code for to_yaml to Searchkick::Relation - #1591 [skip ci]
Showing
2 changed files
with
11 additions
and
0 deletions
Show diff stats
lib/searchkick/relation.rb
test/relation_test.rb
... | ... | @@ -33,4 +33,10 @@ class RelationTest < Minitest::Test |
33 | 33 | store_names ["Product A", "Product B"] |
34 | 34 | assert_equal ["Product A", "Product B"], Product.search("product").pluck(:name).sort |
35 | 35 | end |
36 | + | |
37 | + # TODO uncomment in 6.0 | |
38 | + # def test_to_yaml | |
39 | + # store_names ["Product A", "Product B"] | |
40 | + # assert_equal Product.all.to_yaml, Product.search("product").to_yaml | |
41 | + # end | |
36 | 42 | end | ... | ... |