Fix rubocop

This commit is contained in:
Donal McBreen
2025-11-21 15:30:14 +00:00
parent be0ce5efa0
commit d48eb523b8
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class Search::Record::SQLite::Fts < ApplicationRecord
connection.exec_query(
"INSERT OR REPLACE INTO search_records_fts(rowid, title, content) VALUES (?, ?, ?)",
"Search::Record::SqliteFts Upsert",
[rowid, title, content]
[ rowid, title, content ]
)
end
end
@@ -47,7 +47,6 @@ class SearchesControllerTest < ActionDispatch::IntegrationTest
get search_path(q: "highlighting", script_name: "/#{@account.external_account_id}")
assert_response :success
end
test "search preserves highlight marks but escapes surrounding HTML" do