Fix a flaky Active Record instrumentation test

This commit is contained in:
fatkodima 2024-07-11 11:35:27 +03:00
parent 69d904e60f
commit 182988b41f
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ module ActiveRecord
end
def test_no_instantiation_notification_when_no_records
author = Author.create!(name: "David")
author = Author.create!(id: 100, name: "David")
called = false
subscriber = ActiveSupport::Notifications.subscribe("instantiation.active_record") do