test/routing_test.rb in searchkick-2.3.1 vs test/routing_test.rb in searchkick-2.3.2
- old
+ new
@@ -11,13 +11,13 @@
assert_equal index_options[:mappings][:_default_][:_routing], required: true
end
def test_routing_correct_node
store_names ["Dollar Tree"], Store
- assert_search "dollar", ["Dollar Tree"], {routing: "Dollar Tree"}, Store
+ assert_search "*", ["Dollar Tree"], {routing: "Dollar Tree"}, Store
end
def test_routing_incorrect_node
store_names ["Dollar Tree"], Store
- assert_search "dollar", ["Dollar Tree"], {routing: "Boom"}, Store
+ assert_search "*", ["Dollar Tree"], {routing: "Boom"}, Store
end
end