Sha256: cb041846efeb4999abb7d11752d6c0775afe623beeca09af5a51322c87f8738f

Contents?: true

Size: 417 Bytes

Versions: 96

Compression:

Stored size: 417 Bytes

Contents

require 'test_helper'

class Elasticsearch::Transport::Transport::SerializerTest < Test::Unit::TestCase

  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

96 entries across 96 versions & 8 rubygems

Version Path
elasticsearch-transport-6.0.2 test/unit/serializer_test.rb
elasticsearch-transport-6.0.1 test/unit/serializer_test.rb
elasticsearch-transport-6.0.0 test/unit/serializer_test.rb
elasticsearch-transport-1.1.3 test/unit/serializer_test.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/serializer_test.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/serializer_test.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/test/unit/serializer_test.rb
elasticsearch-transport-5.0.4 test/unit/serializer_test.rb
elasticsearch-transport-2.0.2 test/unit/serializer_test.rb
elasticsearch-transport-5.0.3 test/unit/serializer_test.rb
elasticsearch-transport-5.0.2 test/unit/serializer_test.rb
elasticsearch-transport-5.0.1 test/unit/serializer_test.rb
elasticsearch-transport-2.0.1 test/unit/serializer_test.rb
elasticsearch-transport-1.1.2 test/unit/serializer_test.rb
elasticsearch-transport-5.0.0 test/unit/serializer_test.rb
elasticsearch-transport-5.0.0.pre test/unit/serializer_test.rb
elasticsearch-transport-2.0.0 test/unit/serializer_test.rb
elasticsearch-transport-1.1.0 test/unit/serializer_test.rb
elasticsearch-transport-2.0.0.pre test/unit/serializer_test.rb
elasticsearch-transport-1.1.pre test/unit/serializer_test.rb