Skip to content

Commit ec635da

Browse files
committed
Fix specs for QueryLogsTest#test_sql_commenter_format.
Address rails#52400.
1 parent a17aa63 commit ec635da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activerecord/test/cases/query_logs_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def test_empty_comments_are_not_added
185185

186186
def test_sql_commenter_format
187187
ActiveRecord::QueryLogs.tags_formatter = :sqlcommenter
188+
ActiveRecord::QueryLogs.tags = [:application, {}]
188189

189190
assert_queries_match(%r{/\*application='active_record'\*/}) do
190191
Dashboard.first

0 commit comments

Comments
 (0)