test/boost_test.rb in searchkick-1.5.0 vs test/boost_test.rb in searchkick-1.5.1
- old
+ new
@@ -162,8 +162,8 @@
def test_boost_by_indices
store_names ["Rex"], Animal
store_names ["Rexx"], Product
- assert_order "Rex", ["Rexx", "Rex"], {index_name: [Animal, Product], indices_boost: {Animal => 1, Product => 200}}, Store
+ assert_order "Rex", ["Rexx", "Rex"], {index_name: [Animal, Product], indices_boost: {Animal => 1, Product => 200}, fields: [:name]}, Store
end
end