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-1.0.0 test/unit/serializer_test.rb
elasticsearch-transport-0.4.11 test/unit/serializer_test.rb
elasticsearch-transport-0.4.10 test/unit/serializer_test.rb
elasticsearch-transport-0.4.9 test/unit/serializer_test.rb
elasticsearch-transport-1.0.0.rc2 test/unit/serializer_test.rb
elasticsearch-transport-1.0.0.rc1 test/unit/serializer_test.rb
elasticsearch-transport-0.4.8 test/unit/serializer_test.rb
elasticsearch-transport-0.4.7 test/unit/serializer_test.rb
elasticsearch-transport-0.4.6 test/unit/serializer_test.rb
elasticsearch-transport-0.4.5 test/unit/serializer_test.rb
elasticsearch-transport-0.4.4 test/unit/serializer_test.rb
elasticsearch-transport-0.4.3 test/unit/serializer_test.rb
elasticsearch-transport-0.4.2 test/unit/serializer_test.rb
elasticsearch-transport-0.4.1 test/unit/serializer_test.rb
elasticsearch-transport-0.4.0 test/unit/serializer_test.rb
elasticsearch-transport-0.0.2 test/unit/serializer_test.rb