test/boost_test.rb in searchkick-0.9.1 vs test/boost_test.rb in searchkick-1.0.0
- old
+ new
@@ -1,9 +1,8 @@
require_relative "test_helper"
-class TestBoost < Minitest::Test
-
+class BoostTest < Minitest::Test
# conversions
def test_conversions
store [
{name: "Tomato A", conversions: {"tomato" => 1}},
@@ -131,7 +130,6 @@
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000},
{name: "San Marino", latitude: 43.9333, longitude: 12.4667}
]
assert_order "san", ["San Francisco", "San Antonio", "San Marino"], boost_by_distance: {field: :location, origin: [37, -122], scale: "1000mi"}
end
-
end