Sha256: 832890cc9514d4a3461aa627d5d60d7ed8cc14d765247b07caebe8d72213728c
Contents?: true
Size: 410 Bytes
Versions: 20
Compression:
Stored size: 410 Bytes
Contents
require_relative "test_helper" class RoutingTest < Minitest::Test def test_routing_query query = Store.search("Dollar Tree", routing: "Dollar Tree", execute: false) assert_equal query.params[:routing], "Dollar Tree" end def test_routing_mappings index_options = Store.searchkick_index.index_options assert_equal index_options[:mappings][:_default_][:_routing], required: true end end
Version data entries
20 entries across 20 versions & 2 rubygems