test/marshal_test.rb in searchkick-2.5.0 vs test/marshal_test.rb in searchkick-3.0.0
- old
+ new
@@ -1,8 +1,13 @@
require_relative "test_helper"
class MarshalTest < Minitest::Test
def test_marshal
store_names ["Product A"]
- assert Marshal.dump(Product.search("*", load: {dumpable: true}).results)
+ assert Marshal.dump(Product.search("*").results)
+ end
+
+ def test_marshal_highlights
+ store_names ["Product A"]
+ assert Marshal.dump(Product.search("product", highlight: true, load: {dumpable: true}).results)
end
end