Skip to content

Commit f39522b

Browse files
committed
assert_queries doesn't exist anymore
1 parent 41a57cf commit f39522b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/associations_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ def test_multi_database_polymorphic_preload_with_same_table_name
12281228
# Expected
12291229
# SELECT FROM dogs ... (Dog)
12301230
# SELECT FROM dogs ... (OtherDog)
1231-
assert_queries(2) do
1231+
assert_queries_count(2) do
12321232
preloader = ActiveRecord::Associations::Preloader.new(records: [dog_comment, other_dog_comment], associations: :origin)
12331233
preloader.call
12341234
end

0 commit comments

Comments
 (0)