Skip to content

Commit 8551d3d

Browse files
authored
Merge pull request rails#52404 from ruyrocha/fix/sql-commenter-format-test
Fix specs for `QueryLogsTest#test_sql_commenter_format`.
2 parents a546cab + ec635da commit 8551d3d

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)