test/highlight_test.rb in searchkick-0.8.1 vs test/highlight_test.rb in searchkick-0.8.2
- old
+ new
@@ -1,7 +1,7 @@
require_relative "test_helper"
-class TestHighlight < Minitest::Unit::TestCase
+class TestHighlight < Minitest::Test
def test_basic
store_names ["Two Door Cinema Club"]
assert_equal "Two Door <em>Cinema</em> Club", Product.search("cinema", fields: [:name], highlight: true).with_details.first[1][:highlight][:name]
end