Sha256: 54ea880b15743ab2baf5438421e9ab823a548ca55d4226b97c9a61f92c00f198

Contents?: true

Size: 614 Bytes

Versions: 8

Compression:

Stored size: 614 Bytes

Contents

# Licensed to Elasticsearch B.V under one or more agreements.
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information

require 'test_helper'

class Elasticsearch::Transport::Transport::SerializerTest < Minitest::Test

  context "Serializer" do

    should "use MultiJson by default" do
      ::MultiJson.expects(:load)
      ::MultiJson.expects(:dump)
      Elasticsearch::Transport::Transport::Serializer::MultiJson.new.load('{}')
      Elasticsearch::Transport::Transport::Serializer::MultiJson.new.dump({})
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
elasticsearch-transport-7.7.0 test/unit/serializer_test.rb
elasticsearch-transport-7.7.0.pre test/unit/serializer_test.rb
elasticsearch-transport-7.6.0 test/unit/serializer_test.rb
elasticsearch-transport-7.6.0.pre test/unit/serializer_test.rb
elasticsearch-transport-7.5.0 test/unit/serializer_test.rb
elasticsearch-transport-7.5.0.pre.pre test/unit/serializer_test.rb
elasticsearch-transport-7.4.0 test/unit/serializer_test.rb
elasticsearch-transport-7.3.0 test/unit/serializer_test.rb