We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41888b1 commit 75bdf05Copy full SHA for 75bdf05
activerecord/test/cases/batches_test.rb
@@ -390,7 +390,7 @@ def test_in_batches_touch_all_affect_all_records
390
assert_queries_count(6 + 6) do # 6 selects, 6 updates
391
Developer.in_batches(of: 2).touch_all(time: time)
392
end
393
- assert_equal Developer.all.pluck(:updated_at), [time] * Developer.count
+ assert_equal [time] * Developer.count, Developer.all.pluck(:updated_at)
394
395
396
def test_in_batches_touch_all_returns_rows_affected
0 commit comments