Sha256: 8da4cff7068abf57ca068da717ef779d16affc2ce26a6d215a36aee5a4252496

Contents?: true

Size: 346 Bytes

Versions: 6

Compression:

Stored size: 346 Bytes

Contents

require_relative "test_helper"

class MarshalTest < Minitest::Test
  def test_marshal
    store_names ["Product A"]
    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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
searchkick-3.1.0 test/marshal_test.rb
searchkick-3.0.3 test/marshal_test.rb
searchkick_evichat-0.0.2 test/marshal_test.rb
searchkick-3.0.2 test/marshal_test.rb
searchkick-3.0.1 test/marshal_test.rb
searchkick-3.0.0 test/marshal_test.rb