From d48eb523b8a7a6a204e984d413ca3a3182586363 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Fri, 21 Nov 2025 15:30:14 +0000 Subject: [PATCH] Fix rubocop --- app/models/search/record/sqlite/fts.rb | 2 +- test/controllers/searches_controller_test.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/search/record/sqlite/fts.rb b/app/models/search/record/sqlite/fts.rb index fa00dab17..388884ae4 100644 --- a/app/models/search/record/sqlite/fts.rb +++ b/app/models/search/record/sqlite/fts.rb @@ -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 diff --git a/test/controllers/searches_controller_test.rb b/test/controllers/searches_controller_test.rb index 98ae5cdd3..14bd91e64 100644 --- a/test/controllers/searches_controller_test.rb +++ b/test/controllers/searches_controller_test.rb @@ -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